{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}c:\data\Fails_PSRM_Log.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}21 Feb 2019, 11:39:30
{txt}
{com}. 
. /*
> Replication code for "Oil Income and the Personalization of Autocratic Politics"
> Author: Matthew Fails
> Email:  fails@oakland.edu
> PSRM manusctipt #PSRM-RN-2018-0133.R1
> */
. 
. /*
> Note: code reflects post-acceptance changes to model reporting; Table 1 now 
> reports only models from 1991-2010 sample; Models covering 1980-2010 
> (originally reported in Table 1 Models 1-2 in conditionally accepted manuscript)
> are now reported as Table 1A in Appendix/Supplemental Material
> */
. 
. clear
{txt}
{com}. 
. /*Please insert path where dataset ("PSRM_Personalism_Dataset") has been saved*/
. cd c:\data
{res}c:\data
{txt}
{com}. 
. ***************
. **READ IN DATA
. ***************
. use PSRM_Personalism_Dataset, clear
{txt}
{com}. 
. /*
> Dataset defined as all observations with non-missing measures of 
> 'latent_personalism' in Geddes, Wright, and Frantz (2018; hereafter GWF) 
> "Time Varying Measure of Personalism" dataset.
> All vars with "gwf_" prefix are drawn from this dataset
> */
. 
. **declare data structure
. tsset gwf_caseid year
{res}{txt}{col 8}panel variable:  {res}gwf_caseid (unbalanced)
{txt}{col 9}time variable:  {res}{col 25}year, 1960 to 2010
{txt}{col 17}delta:  {res}1 unit
{txt}
{com}. 
. 
. ***************
. **VARIABLE CREATION / DATA MAINTENANCE
. ***************
. 
. gen lincome_new = ln(WBincome_new)
{txt}(2,704 missing values generated)

{com}. label var lincome_new "Log income per capita, newest WDI"
{txt}
{com}. 
. gen oil_new = ln(oil_gas_valuepop_2014+1)
{txt}(102 missing values generated)

{com}. label var oil_new "log of oil income per capita, newest Ross/Mahdavi data"
{txt}
{com}. 
. gen logdur = ln(gwf_leader_duration)
{txt}
{com}. label var log "natural log of leader duration, GWF data"
{txt}
{com}. 
. gen popmad_adj = pop_maddison/1000000
{txt}(175 missing values generated)

{com}. label var popmad_adj "Population, Maddison, in millions"
{txt}
{com}. 
. gen lgdppc = ln(gdppc_wdi)
{txt}(965 missing values generated)

{com}. label var lgdppc "log of gdp per capita, Graham/WDI data"
{txt}
{com}. 
. label var tax "Tax Revenue as a share of GDP, IMF"
{txt}
{com}. label var in_pctgdp "FDI inflow as share of GDP, newest WDI"
{txt}
{com}. 
. label var ccode "COWCODE"
{txt}
{com}. label var country "Country name
{txt}
{com}. label var oil_price_2000 "Oil price in constant 2000 USD, Ross/Mahdavi data"
{txt}
{com}. label var pop_maddison "Population, Maddison estimates"
{txt}
{com}. label var WBincome_new "Income per capita, newest WDI"
{txt}
{com}. label var latent_personalism "GWF latent personalism measure, standardized"
{txt}
{com}. label var pers_2pl "GWF latent personalism measure, unstandardized"
{txt}
{com}. 
. **************
. **FIGURE 1
. **************
. 
. *Generate measures for Figure 1
. /*steps:
> 1) by regime, calculate average oil income per capita
> 2) by regime, generate "oil regime" dummy if the mean in step 1 is greater than 100
> 3) by year, calculate average levels of personalism for oil regimes ('avgpersO') and non-oil regimes ('avgpersNO')
> */
. bysort gwf_caseid: egen oil_a2 = mean(oil_gas_valuepop_2014)
{txt}(74 missing values generated)

{com}. bysort gwf_caseid: gen oilstate2 = 1 if oil_a2>=100
{txt}(2,722 missing values generated)

{com}. bysort year: egen avgpersO = mean(latent_personalism) if oilstate2==1
{txt}(2722 missing values generated)

{com}. bysort year: egen avgpersNO = mean(latent_personalism) if oilstate2!=1 & oil_gas_valuepop_2014!=.
{txt}(1280 missing values generated)

{com}. 
. *Figure 1 (requires scheme 'plotplain' installed)
. graph twoway (line avgpersO year, clpattern(dash) xline(1991) xline(1980) xaxis(1 2) xla(1980 "Big Oil Change" 1991 "Cold War Ends", axis(1)) xtitle("", axis(1)) xscale(noline axis(1))  ytitle("Average Personalism Score") xtitle("Year", axis(2))) (line avgpersNO year, clpattern(shortdash) scheme(plotplain)) ///
> (line oil_price_2000 year, ytitle("Price of Crude Oil, in constant USD", axis(2)) clpattern(solid) yaxis(2) note("Note: Oil regimes defined as those averaging more than $100 in per-capita oil income" "over the duration of the regime, using data from Ross and Mahdavi (2013).") ///
> legend(order(1 "Oil Regimes" 2 "Non-Oil Regimes" 3 "Oil Price")))
{res}{txt}
{com}. graph save PersonalismFigure1, replace
{res}{txt}(file PersonalismFigure1.gph saved)

{com}. 
. ***************
. *START REGRESSION ANALYSIS
. ***************
. tsset gwf_caseid year
{res}{txt}{col 8}panel variable:  {res}gwf_caseid (unbalanced)
{txt}{col 9}time variable:  {res}{col 25}year, 1960 to 2010
{txt}{col 17}delta:  {res}1 unit
{txt}
{com}. 
. *TABLE 1
. 
. *Model 1 - Baseline specification, post-Cold War
. xtreg pers_2pl l2.oil_new l2.lincome_new l.popmad_adj l.gwf_firstldr l.logdur i.year if year>1991, fe robust
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}     1,031
{txt}Group variable: {res}gwf_caseid{txt}{col 49}Number of groups{col 67}={col 69}{res}        91

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.1471{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.3728{col 63}{txt}avg{col 67}={col 69}{res}      11.3
{txt}     overall = {res}0.3124{col 63}{txt}max{col 67}={col 69}{res}        19

{txt}{col 49}F({res}23{txt},{res}90{txt}){col 67}={col 70}{res}     4.10
{txt}corr(u_i, Xb){col 16}= {res}0.0979{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 78:(Std. Err. adjusted for {res:91} clusters in gwf_caseid)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}    pers_2pl{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}oil_new {c |}
{space 9}L2. {c |}{col 14}{res}{space 2}  .038383{col 26}{space 2}  .022106{col 37}{space 1}    1.74{col 46}{space 3}0.086{col 54}{space 4}-.0055344{col 67}{space 3} .0823004
{txt}{space 12} {c |}
{space 1}lincome_new {c |}
{space 9}L2. {c |}{col 14}{res}{space 2} -.183681{col 26}{space 2} .2405829{col 37}{space 1}   -0.76{col 46}{space 3}0.447{col 54}{space 4}-.6616409{col 67}{space 3} .2942789
{txt}{space 12} {c |}
{space 2}popmad_adj {c |}
{space 9}L1. {c |}{col 14}{res}{space 2}-.0015363{col 26}{space 2} .0019193{col 37}{space 1}   -0.80{col 46}{space 3}0.426{col 54}{space 4}-.0053493{col 67}{space 3} .0022766
{txt}{space 12} {c |}
gwf_firstldr {c |}
{space 9}L1. {c |}{col 14}{res}{space 2}  .281753{col 26}{space 2} .2024094{col 37}{space 1}    1.39{col 46}{space 3}0.167{col 54}{space 4}-.1203686{col 67}{space 3} .6838747
{txt}{space 12} {c |}
{space 6}logdur {c |}
{space 9}L1. {c |}{col 14}{res}{space 2} .1094618{col 26}{space 2} .0378649{col 37}{space 1}    2.89{col 46}{space 3}0.005{col 54}{space 4} .0342365{col 67}{space 3} .1846872
{txt}{space 12} {c |}
{space 8}year {c |}
{space 7}1993  {c |}{col 14}{res}{space 2} .0476587{col 26}{space 2} .0305996{col 37}{space 1}    1.56{col 46}{space 3}0.123{col 54}{space 4}-.0131327{col 67}{space 3} .1084501
{txt}{space 7}1994  {c |}{col 14}{res}{space 2}-.0039536{col 26}{space 2} .0555659{col 37}{space 1}   -0.07{col 46}{space 3}0.943{col 54}{space 4}-.1143449{col 67}{space 3} .1064377
{txt}{space 7}1995  {c |}{col 14}{res}{space 2}  .010988{col 26}{space 2}  .053821{col 37}{space 1}    0.20{col 46}{space 3}0.839{col 54}{space 4}-.0959369{col 67}{space 3} .1179129
{txt}{space 7}1996  {c |}{col 14}{res}{space 2} .0321209{col 26}{space 2} .0593023{col 37}{space 1}    0.54{col 46}{space 3}0.589{col 54}{space 4}-.0856935{col 67}{space 3} .1499354
{txt}{space 7}1997  {c |}{col 14}{res}{space 2} .0155705{col 26}{space 2} .0574058{col 37}{space 1}    0.27{col 46}{space 3}0.787{col 54}{space 4}-.0984762{col 67}{space 3} .1296171
{txt}{space 7}1998  {c |}{col 14}{res}{space 2} .0099393{col 26}{space 2}  .062089{col 37}{space 1}    0.16{col 46}{space 3}0.873{col 54}{space 4}-.1134113{col 67}{space 3}   .13329
{txt}{space 7}1999  {c |}{col 14}{res}{space 2}-.0365297{col 26}{space 2} .0875523{col 37}{space 1}   -0.42{col 46}{space 3}0.678{col 54}{space 4}-.2104677{col 67}{space 3} .1374083
{txt}{space 7}2000  {c |}{col 14}{res}{space 2} .0231549{col 26}{space 2} .0714799{col 37}{space 1}    0.32{col 46}{space 3}0.747{col 54}{space 4}-.1188523{col 67}{space 3} .1651622
{txt}{space 7}2001  {c |}{col 14}{res}{space 2} .0362756{col 26}{space 2} .0733822{col 37}{space 1}    0.49{col 46}{space 3}0.622{col 54}{space 4}-.1095109{col 67}{space 3} .1820622
{txt}{space 7}2002  {c |}{col 14}{res}{space 2} .0008455{col 26}{space 2} .0668612{col 37}{space 1}    0.01{col 46}{space 3}0.990{col 54}{space 4} -.131986{col 67}{space 3} .1336769
{txt}{space 7}2003  {c |}{col 14}{res}{space 2}  .039364{col 26}{space 2} .0781561{col 37}{space 1}    0.50{col 46}{space 3}0.616{col 54}{space 4}-.1159068{col 67}{space 3} .1946348
{txt}{space 7}2004  {c |}{col 14}{res}{space 2} .0024917{col 26}{space 2} .0760717{col 37}{space 1}    0.03{col 46}{space 3}0.974{col 54}{space 4}-.1486381{col 67}{space 3} .1536214
{txt}{space 7}2005  {c |}{col 14}{res}{space 2} .0526591{col 26}{space 2} .0767567{col 37}{space 1}    0.69{col 46}{space 3}0.494{col 54}{space 4}-.0998313{col 67}{space 3} .2051496
{txt}{space 7}2006  {c |}{col 14}{res}{space 2} .0160249{col 26}{space 2} .0912028{col 37}{space 1}    0.18{col 46}{space 3}0.861{col 54}{space 4}-.1651654{col 67}{space 3} .1972151
{txt}{space 7}2007  {c |}{col 14}{res}{space 2} .0388223{col 26}{space 2} .0954005{col 37}{space 1}    0.41{col 46}{space 3}0.685{col 54}{space 4}-.1507075{col 67}{space 3} .2283521
{txt}{space 7}2008  {c |}{col 14}{res}{space 2} .0729779{col 26}{space 2} .1031423{col 37}{space 1}    0.71{col 46}{space 3}0.481{col 54}{space 4}-.1319323{col 67}{space 3} .2778881
{txt}{space 7}2009  {c |}{col 14}{res}{space 2} .0630778{col 26}{space 2} .1142473{col 37}{space 1}    0.55{col 46}{space 3}0.582{col 54}{space 4}-.1638944{col 67}{space 3}   .29005
{txt}{space 7}2010  {c |}{col 14}{res}{space 2} .0928991{col 26}{space 2} .1200707{col 37}{space 1}    0.77{col 46}{space 3}0.441{col 54}{space 4}-.1456423{col 67}{space 3} .3314405
{txt}{space 12} {c |}
{space 7}_cons {c |}{col 14}{res}{space 2} 1.203091{col 26}{space 2} 1.868677{col 37}{space 1}    0.64{col 46}{space 3}0.521{col 54}{space 4}-2.509361{col 67}{space 3} 4.915543
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} .61334647
     {txt}sigma_e {c |} {res} .27661961
         {txt}rho {c |} {res} .83097785{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}

{com}. est store m1
{txt}
{com}. *identify top 10% threshold of oil production for robustness analysis
. centile oil_new if e(sample), centile(90)

{txt}{col 56}{hline 2} Binom. Interp. {hline 2}
    Variable {c |}       Obs  Percentile    Centile        [95% Conf. Interval]
{hline 13}{c +}{hline 61}
     oil_new {c |}{col 14}{res}     1,031{col 29}     90{col 39} 8.120672{col 55} 7.928229{col 67} 8.351705{txt}

{com}. *Model 2 - Baseline speficication, post-Cold War, exclude top 10% of oil_new obs
. xtreg pers_2pl l2.oil_new l2.lincome_new l.popmad_adj l.gwf_firstldr l.logdur i.year if year>1991 & oil_new<8.120672, fe robust
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       928
{txt}Group variable: {res}gwf_caseid{txt}{col 49}Number of groups{col 67}={col 69}{res}        89

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.1631{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.3209{col 63}{txt}avg{col 67}={col 69}{res}      10.4
{txt}     overall = {res}0.2614{col 63}{txt}max{col 67}={col 69}{res}        19

{txt}{col 49}F({res}23{txt},{res}88{txt}){col 67}={col 70}{res}     5.00
{txt}corr(u_i, Xb){col 16}= {res}-0.0783{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 78:(Std. Err. adjusted for {res:89} clusters in gwf_caseid)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}    pers_2pl{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}oil_new {c |}
{space 9}L2. {c |}{col 14}{res}{space 2} .0365001{col 26}{space 2} .0207211{col 37}{space 1}    1.76{col 46}{space 3}0.082{col 54}{space 4}-.0046788{col 67}{space 3} .0776789
{txt}{space 12} {c |}
{space 1}lincome_new {c |}
{space 9}L2. {c |}{col 14}{res}{space 2}-.0667334{col 26}{space 2} .2158293{col 37}{space 1}   -0.31{col 46}{space 3}0.758{col 54}{space 4}-.4956489{col 67}{space 3}  .362182
{txt}{space 12} {c |}
{space 2}popmad_adj {c |}
{space 9}L1. {c |}{col 14}{res}{space 2}-.0021856{col 26}{space 2} .0016725{col 37}{space 1}   -1.31{col 46}{space 3}0.195{col 54}{space 4}-.0055094{col 67}{space 3} .0011383
{txt}{space 12} {c |}
gwf_firstldr {c |}
{space 9}L1. {c |}{col 14}{res}{space 2} .2783048{col 26}{space 2} .1880725{col 37}{space 1}    1.48{col 46}{space 3}0.143{col 54}{space 4}-.0954498{col 67}{space 3} .6520593
{txt}{space 12} {c |}
{space 6}logdur {c |}
{space 9}L1. {c |}{col 14}{res}{space 2} .1315194{col 26}{space 2} .0396351{col 37}{space 1}    3.32{col 46}{space 3}0.001{col 54}{space 4}  .052753{col 67}{space 3} .2102858
{txt}{space 12} {c |}
{space 8}year {c |}
{space 7}1993  {c |}{col 14}{res}{space 2} .0515863{col 26}{space 2} .0334359{col 37}{space 1}    1.54{col 46}{space 3}0.126{col 54}{space 4}-.0148605{col 67}{space 3} .1180331
{txt}{space 7}1994  {c |}{col 14}{res}{space 2}-.0056956{col 26}{space 2} .0603191{col 37}{space 1}   -0.09{col 46}{space 3}0.925{col 54}{space 4}-.1255672{col 67}{space 3}  .114176
{txt}{space 7}1995  {c |}{col 14}{res}{space 2} .0164456{col 26}{space 2} .0587182{col 37}{space 1}    0.28{col 46}{space 3}0.780{col 54}{space 4}-.1002444{col 67}{space 3} .1331356
{txt}{space 7}1996  {c |}{col 14}{res}{space 2} .0351326{col 26}{space 2} .0633585{col 37}{space 1}    0.55{col 46}{space 3}0.581{col 54}{space 4} -.090779{col 67}{space 3} .1610443
{txt}{space 7}1997  {c |}{col 14}{res}{space 2} .0108961{col 26}{space 2} .0612461{col 37}{space 1}    0.18{col 46}{space 3}0.859{col 54}{space 4}-.1108178{col 67}{space 3} .1326099
{txt}{space 7}1998  {c |}{col 14}{res}{space 2}-.0018294{col 26}{space 2} .0655861{col 37}{space 1}   -0.03{col 46}{space 3}0.978{col 54}{space 4} -.132168{col 67}{space 3} .1285093
{txt}{space 7}1999  {c |}{col 14}{res}{space 2}-.0564572{col 26}{space 2} .0933372{col 37}{space 1}   -0.60{col 46}{space 3}0.547{col 54}{space 4}-.2419452{col 67}{space 3} .1290308
{txt}{space 7}2000  {c |}{col 14}{res}{space 2} .0031398{col 26}{space 2} .0748847{col 37}{space 1}    0.04{col 46}{space 3}0.967{col 54}{space 4}-.1456778{col 67}{space 3} .1519573
{txt}{space 7}2001  {c |}{col 14}{res}{space 2} .0193733{col 26}{space 2} .0772439{col 37}{space 1}    0.25{col 46}{space 3}0.803{col 54}{space 4}-.1341328{col 67}{space 3} .1728793
{txt}{space 7}2002  {c |}{col 14}{res}{space 2} -.023388{col 26}{space 2} .0714948{col 37}{space 1}   -0.33{col 46}{space 3}0.744{col 54}{space 4}-.1654689{col 67}{space 3}  .118693
{txt}{space 7}2003  {c |}{col 14}{res}{space 2} .0176409{col 26}{space 2} .0808897{col 37}{space 1}    0.22{col 46}{space 3}0.828{col 54}{space 4}-.1431104{col 67}{space 3} .1783921
{txt}{space 7}2004  {c |}{col 14}{res}{space 2} -.026216{col 26}{space 2} .0882592{col 37}{space 1}   -0.30{col 46}{space 3}0.767{col 54}{space 4}-.2016125{col 67}{space 3} .1491806
{txt}{space 7}2005  {c |}{col 14}{res}{space 2} .0062622{col 26}{space 2} .0842197{col 37}{space 1}    0.07{col 46}{space 3}0.941{col 54}{space 4}-.1611067{col 67}{space 3} .1736311
{txt}{space 7}2006  {c |}{col 14}{res}{space 2}-.0334849{col 26}{space 2} .1005017{col 37}{space 1}   -0.33{col 46}{space 3}0.740{col 54}{space 4}-.2332109{col 67}{space 3} .1662411
{txt}{space 7}2007  {c |}{col 14}{res}{space 2} .0112073{col 26}{space 2} .1084749{col 37}{space 1}    0.10{col 46}{space 3}0.918{col 54}{space 4}-.2043637{col 67}{space 3} .2267784
{txt}{space 7}2008  {c |}{col 14}{res}{space 2}-.0027073{col 26}{space 2} .1128141{col 37}{space 1}   -0.02{col 46}{space 3}0.981{col 54}{space 4}-.2269016{col 67}{space 3} .2214871
{txt}{space 7}2009  {c |}{col 14}{res}{space 2} .0003475{col 26}{space 2} .1196883{col 37}{space 1}    0.00{col 46}{space 3}0.998{col 54}{space 4}-.2375079{col 67}{space 3} .2382029
{txt}{space 7}2010  {c |}{col 14}{res}{space 2} .0650016{col 26}{space 2} .1333348{col 37}{space 1}    0.49{col 46}{space 3}0.627{col 54}{space 4}-.1999732{col 67}{space 3} .3299764
{txt}{space 12} {c |}
{space 7}_cons {c |}{col 14}{res}{space 2} .2560418{col 26}{space 2} 1.637153{col 37}{space 1}    0.16{col 46}{space 3}0.876{col 54}{space 4}-2.997456{col 67}{space 3} 3.509539
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} .63603138
     {txt}sigma_e {c |} {res}  .2792799
         {txt}rho {c |} {res} .83835875{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}

{com}. est store m2
{txt}
{com}. *Model 3 - Extra controls, post-Cold War
. xtreg pers_2pl l2.oil_new l2.lincome_new l.popmad_adj l.gwf_firstldr l.logdur l2.in_pctgdp l2.tax i.year if year>1991, fe robust
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       844
{txt}Group variable: {res}gwf_caseid{txt}{col 49}Number of groups{col 67}={col 69}{res}        83

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.1649{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.3249{col 63}{txt}avg{col 67}={col 69}{res}      10.2
{txt}     overall = {res}0.3250{col 63}{txt}max{col 67}={col 69}{res}        19

{txt}{col 49}F({res}25{txt},{res}82{txt}){col 67}={col 70}{res}    17.09
{txt}corr(u_i, Xb){col 16}= {res}-0.0398{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 78:(Std. Err. adjusted for {res:83} clusters in gwf_caseid)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}    pers_2pl{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}oil_new {c |}
{space 9}L2. {c |}{col 14}{res}{space 2} .0693086{col 26}{space 2} .0266759{col 37}{space 1}    2.60{col 46}{space 3}0.011{col 54}{space 4} .0162418{col 67}{space 3} .1223754
{txt}{space 12} {c |}
{space 1}lincome_new {c |}
{space 9}L2. {c |}{col 14}{res}{space 2}-.3129442{col 26}{space 2} .3574862{col 37}{space 1}   -0.88{col 46}{space 3}0.384{col 54}{space 4}-1.024098{col 67}{space 3} .3982099
{txt}{space 12} {c |}
{space 2}popmad_adj {c |}
{space 9}L1. {c |}{col 14}{res}{space 2}-.0014607{col 26}{space 2} .0025624{col 37}{space 1}   -0.57{col 46}{space 3}0.570{col 54}{space 4}-.0065582{col 67}{space 3} .0036368
{txt}{space 12} {c |}
gwf_firstldr {c |}
{space 9}L1. {c |}{col 14}{res}{space 2} .3655374{col 26}{space 2} .2188461{col 37}{space 1}    1.67{col 46}{space 3}0.099{col 54}{space 4}-.0698172{col 67}{space 3}  .800892
{txt}{space 12} {c |}
{space 6}logdur {c |}
{space 9}L1. {c |}{col 14}{res}{space 2} .0916774{col 26}{space 2} .0383288{col 37}{space 1}    2.39{col 46}{space 3}0.019{col 54}{space 4} .0154292{col 67}{space 3} .1679256
{txt}{space 12} {c |}
{space 3}in_pctgdp {c |}
{space 9}L2. {c |}{col 14}{res}{space 2}-.0003706{col 26}{space 2} .0034489{col 37}{space 1}   -0.11{col 46}{space 3}0.915{col 54}{space 4}-.0072315{col 67}{space 3} .0064904
{txt}{space 12} {c |}
{space 9}tax {c |}
{space 9}L2. {c |}{col 14}{res}{space 2}  .004732{col 26}{space 2} .0070564{col 37}{space 1}    0.67{col 46}{space 3}0.504{col 54}{space 4}-.0093053{col 67}{space 3} .0187694
{txt}{space 12} {c |}
{space 8}year {c |}
{space 7}1993  {c |}{col 14}{res}{space 2} .0866388{col 26}{space 2}  .050058{col 37}{space 1}    1.73{col 46}{space 3}0.087{col 54}{space 4}-.0129425{col 67}{space 3}   .18622
{txt}{space 7}1994  {c |}{col 14}{res}{space 2} .0635544{col 26}{space 2} .0705846{col 37}{space 1}    0.90{col 46}{space 3}0.371{col 54}{space 4}-.0768609{col 67}{space 3} .2039697
{txt}{space 7}1995  {c |}{col 14}{res}{space 2} .0763768{col 26}{space 2} .0677174{col 37}{space 1}    1.13{col 46}{space 3}0.263{col 54}{space 4}-.0583348{col 67}{space 3} .2110883
{txt}{space 7}1996  {c |}{col 14}{res}{space 2} .0927543{col 26}{space 2}  .074994{col 37}{space 1}    1.24{col 46}{space 3}0.220{col 54}{space 4}-.0564327{col 67}{space 3} .2419413
{txt}{space 7}1997  {c |}{col 14}{res}{space 2} .0592702{col 26}{space 2} .0731623{col 37}{space 1}    0.81{col 46}{space 3}0.420{col 54}{space 4} -.086273{col 67}{space 3} .2048134
{txt}{space 7}1998  {c |}{col 14}{res}{space 2} .0381476{col 26}{space 2} .0771044{col 37}{space 1}    0.49{col 46}{space 3}0.622{col 54}{space 4}-.1152377{col 67}{space 3} .1915328
{txt}{space 7}1999  {c |}{col 14}{res}{space 2}  .005904{col 26}{space 2} .1087096{col 37}{space 1}    0.05{col 46}{space 3}0.957{col 54}{space 4}-.2103541{col 67}{space 3} .2221621
{txt}{space 7}2000  {c |}{col 14}{res}{space 2} .0524913{col 26}{space 2} .0927076{col 37}{space 1}    0.57{col 46}{space 3}0.573{col 54}{space 4}-.1319336{col 67}{space 3} .2369162
{txt}{space 7}2001  {c |}{col 14}{res}{space 2} .0553037{col 26}{space 2} .0960863{col 37}{space 1}    0.58{col 46}{space 3}0.566{col 54}{space 4}-.1358425{col 67}{space 3} .2464499
{txt}{space 7}2002  {c |}{col 14}{res}{space 2} -.002778{col 26}{space 2} .0895339{col 37}{space 1}   -0.03{col 46}{space 3}0.975{col 54}{space 4}-.1808895{col 67}{space 3} .1753334
{txt}{space 7}2003  {c |}{col 14}{res}{space 2}  .054405{col 26}{space 2} .1016643{col 37}{space 1}    0.54{col 46}{space 3}0.594{col 54}{space 4}-.1478376{col 67}{space 3} .2566476
{txt}{space 7}2004  {c |}{col 14}{res}{space 2} .0165589{col 26}{space 2} .0920365{col 37}{space 1}    0.18{col 46}{space 3}0.858{col 54}{space 4}-.1665309{col 67}{space 3} .1996488
{txt}{space 7}2005  {c |}{col 14}{res}{space 2}  .069014{col 26}{space 2} .1049598{col 37}{space 1}    0.66{col 46}{space 3}0.513{col 54}{space 4}-.1397844{col 67}{space 3} .2778124
{txt}{space 7}2006  {c |}{col 14}{res}{space 2} .0292076{col 26}{space 2} .1269501{col 37}{space 1}    0.23{col 46}{space 3}0.819{col 54}{space 4}-.2233366{col 67}{space 3} .2817519
{txt}{space 7}2007  {c |}{col 14}{res}{space 2} .0647375{col 26}{space 2} .1351628{col 37}{space 1}    0.48{col 46}{space 3}0.633{col 54}{space 4}-.2041444{col 67}{space 3} .3336195
{txt}{space 7}2008  {c |}{col 14}{res}{space 2} .0741608{col 26}{space 2} .1511297{col 37}{space 1}    0.49{col 46}{space 3}0.625{col 54}{space 4}-.2264844{col 67}{space 3}  .374806
{txt}{space 7}2009  {c |}{col 14}{res}{space 2} .0712779{col 26}{space 2} .1686263{col 37}{space 1}    0.42{col 46}{space 3}0.674{col 54}{space 4}-.2641736{col 67}{space 3} .4067294
{txt}{space 7}2010  {c |}{col 14}{res}{space 2} .1003215{col 26}{space 2} .1761879{col 37}{space 1}    0.57{col 46}{space 3}0.571{col 54}{space 4}-.2501723{col 67}{space 3} .4508153
{txt}{space 12} {c |}
{space 7}_cons {c |}{col 14}{res}{space 2} 2.094625{col 26}{space 2} 2.790642{col 37}{space 1}    0.75{col 46}{space 3}0.455{col 54}{space 4}-3.456851{col 67}{space 3} 7.646101
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} .60870586
     {txt}sigma_e {c |} {res} .27829424
         {txt}rho {c |} {res} .82711432{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}

{com}. est store m3
{txt}
{com}. *identify top 10% threshold of oil production for robustness analysis
. centile oil_new if e(sample), centile(90)

{txt}{col 56}{hline 2} Binom. Interp. {hline 2}
    Variable {c |}       Obs  Percentile    Centile        [95% Conf. Interval]
{hline 13}{c +}{hline 61}
     oil_new {c |}{col 14}{res}       844{col 29}     90{col 39} 8.347798{col 55} 8.116346{col 67} 8.574908{txt}

{com}. *Model 4 - Extra controls, post-Cold War, exclude top 10% of oil_new obs
. xtreg pers_2pl l2.oil_new l2.lincome_new l.popmad_adj l.gwf_firstldr l.logdur l2.in_pctgdp l2.tax i.year if year>1991 & oil_new<8.347798, fe robust
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       760
{txt}Group variable: {res}gwf_caseid{txt}{col 49}Number of groups{col 67}={col 69}{res}        81

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.1909{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.3720{col 63}{txt}avg{col 67}={col 69}{res}       9.4
{txt}     overall = {res}0.3547{col 63}{txt}max{col 67}={col 69}{res}        19

{txt}{col 49}F({res}25{txt},{res}80{txt}){col 67}={col 70}{res}    16.70
{txt}corr(u_i, Xb){col 16}= {res}-0.0316{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 78:(Std. Err. adjusted for {res:81} clusters in gwf_caseid)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}    pers_2pl{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}oil_new {c |}
{space 9}L2. {c |}{col 14}{res}{space 2} .0711386{col 26}{space 2} .0275389{col 37}{space 1}    2.58{col 46}{space 3}0.012{col 54}{space 4} .0163344{col 67}{space 3} .1259429
{txt}{space 12} {c |}
{space 1}lincome_new {c |}
{space 9}L2. {c |}{col 14}{res}{space 2}-.2529314{col 26}{space 2} .3955894{col 37}{space 1}   -0.64{col 46}{space 3}0.524{col 54}{space 4}-1.040179{col 67}{space 3} .5343167
{txt}{space 12} {c |}
{space 2}popmad_adj {c |}
{space 9}L1. {c |}{col 14}{res}{space 2}-.0016414{col 26}{space 2} .0026398{col 37}{space 1}   -0.62{col 46}{space 3}0.536{col 54}{space 4}-.0068947{col 67}{space 3} .0036119
{txt}{space 12} {c |}
gwf_firstldr {c |}
{space 9}L1. {c |}{col 14}{res}{space 2} .4231833{col 26}{space 2} .2198957{col 37}{space 1}    1.92{col 46}{space 3}0.058{col 54}{space 4}-.0144231{col 67}{space 3} .8607897
{txt}{space 12} {c |}
{space 6}logdur {c |}
{space 9}L1. {c |}{col 14}{res}{space 2} .1161813{col 26}{space 2} .0418152{col 37}{space 1}    2.78{col 46}{space 3}0.007{col 54}{space 4} .0329665{col 67}{space 3} .1993962
{txt}{space 12} {c |}
{space 3}in_pctgdp {c |}
{space 9}L2. {c |}{col 14}{res}{space 2}-.0013726{col 26}{space 2} .0034941{col 37}{space 1}   -0.39{col 46}{space 3}0.695{col 54}{space 4}-.0083261{col 67}{space 3} .0055808
{txt}{space 12} {c |}
{space 9}tax {c |}
{space 9}L2. {c |}{col 14}{res}{space 2} .0043255{col 26}{space 2} .0077421{col 37}{space 1}    0.56{col 46}{space 3}0.578{col 54}{space 4}-.0110819{col 67}{space 3} .0197328
{txt}{space 12} {c |}
{space 8}year {c |}
{space 7}1993  {c |}{col 14}{res}{space 2} .0965603{col 26}{space 2} .0538226{col 37}{space 1}    1.79{col 46}{space 3}0.077{col 54}{space 4}  -.01055{col 67}{space 3} .2036706
{txt}{space 7}1994  {c |}{col 14}{res}{space 2} .0694321{col 26}{space 2} .0757247{col 37}{space 1}    0.92{col 46}{space 3}0.362{col 54}{space 4}-.0812649{col 67}{space 3} .2201291
{txt}{space 7}1995  {c |}{col 14}{res}{space 2} .0815343{col 26}{space 2} .0726981{col 37}{space 1}    1.12{col 46}{space 3}0.265{col 54}{space 4}-.0631395{col 67}{space 3} .2262081
{txt}{space 7}1996  {c |}{col 14}{res}{space 2} .0993243{col 26}{space 2} .0803117{col 37}{space 1}    1.24{col 46}{space 3}0.220{col 54}{space 4}-.0605011{col 67}{space 3} .2591497
{txt}{space 7}1997  {c |}{col 14}{res}{space 2} .0569978{col 26}{space 2} .0778548{col 37}{space 1}    0.73{col 46}{space 3}0.466{col 54}{space 4}-.0979381{col 67}{space 3} .2119337
{txt}{space 7}1998  {c |}{col 14}{res}{space 2} .0308055{col 26}{space 2} .0823533{col 37}{space 1}    0.37{col 46}{space 3}0.709{col 54}{space 4}-.1330828{col 67}{space 3} .1946937
{txt}{space 7}1999  {c |}{col 14}{res}{space 2}-.0067521{col 26}{space 2} .1156728{col 37}{space 1}   -0.06{col 46}{space 3}0.954{col 54}{space 4}-.2369482{col 67}{space 3} .2234441
{txt}{space 7}2000  {c |}{col 14}{res}{space 2} .0360049{col 26}{space 2} .0991533{col 37}{space 1}    0.36{col 46}{space 3}0.717{col 54}{space 4}-.1613164{col 67}{space 3} .2333263
{txt}{space 7}2001  {c |}{col 14}{res}{space 2} .0482986{col 26}{space 2} .1040229{col 37}{space 1}    0.46{col 46}{space 3}0.644{col 54}{space 4}-.1587136{col 67}{space 3} .2553109
{txt}{space 7}2002  {c |}{col 14}{res}{space 2}-.0183069{col 26}{space 2} .0992014{col 37}{space 1}   -0.18{col 46}{space 3}0.854{col 54}{space 4}-.2157239{col 67}{space 3} .1791102
{txt}{space 7}2003  {c |}{col 14}{res}{space 2}  .045758{col 26}{space 2} .1141852{col 37}{space 1}    0.40{col 46}{space 3}0.690{col 54}{space 4}-.1814778{col 67}{space 3} .2729939
{txt}{space 7}2004  {c |}{col 14}{res}{space 2} .0080158{col 26}{space 2} .1078413{col 37}{space 1}    0.07{col 46}{space 3}0.941{col 54}{space 4}-.2065952{col 67}{space 3} .2226268
{txt}{space 7}2005  {c |}{col 14}{res}{space 2} .0690997{col 26}{space 2} .1272167{col 37}{space 1}    0.54{col 46}{space 3}0.589{col 54}{space 4}-.1840696{col 67}{space 3}  .322269
{txt}{space 7}2006  {c |}{col 14}{res}{space 2} .0038343{col 26}{space 2} .1516498{col 37}{space 1}    0.03{col 46}{space 3}0.980{col 54}{space 4}-.2979585{col 67}{space 3} .3056271
{txt}{space 7}2007  {c |}{col 14}{res}{space 2}  .044533{col 26}{space 2} .1609437{col 37}{space 1}    0.28{col 46}{space 3}0.783{col 54}{space 4} -.275755{col 67}{space 3} .3648211
{txt}{space 7}2008  {c |}{col 14}{res}{space 2} .0433962{col 26}{space 2} .1886337{col 37}{space 1}    0.23{col 46}{space 3}0.819{col 54}{space 4}-.3319969{col 67}{space 3} .4187893
{txt}{space 7}2009  {c |}{col 14}{res}{space 2} .0423452{col 26}{space 2} .2034858{col 37}{space 1}    0.21{col 46}{space 3}0.836{col 54}{space 4}-.3626046{col 67}{space 3} .4472949
{txt}{space 7}2010  {c |}{col 14}{res}{space 2} .0812097{col 26}{space 2} .2140981{col 37}{space 1}    0.38{col 46}{space 3}0.705{col 54}{space 4}-.3448591{col 67}{space 3} .5072786
{txt}{space 12} {c |}
{space 7}_cons {c |}{col 14}{res}{space 2} 1.516182{col 26}{space 2} 2.983415{col 37}{space 1}    0.51{col 46}{space 3}0.613{col 54}{space 4}-4.421004{col 67}{space 3} 7.453367
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} .59491306
     {txt}sigma_e {c |} {res} .28789623
         {txt}rho {c |} {res} .81024922{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}

{com}. est store m2
{txt}
{com}. 
. esttab m* using m1.csv, cells(b(star  fmt(%9.3f)) se(par fmt(%9.3f))) stats(N) style(tab) replace label starlevels(* 0.10 ** 0.05 *** 0.01)
{res}{txt}(output written to {browse  `"m1.csv"'})

{com}. 
. 
. **FIGURE 2 - ESTIMATES OF PARAMETERS OF INTEREST FROM MODELS 2-4
. /*Stages of analysis:
> 1) Define an IQR increase in each relevant variable
> 2) Esimate, by model, the change in expected value of the DV per an IQR increase in each relevant variable, all other covariates held to mean values
> 3) Combine these estimates into a single plot
> */
.  
. *Model 2
. xtreg pers_2pl l2.oil_new l2.lincome_new l.popmad_adj l.gwf_firstldr l.logdur i.year if year>1991 & oil_new<8.120672, fe robust
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       928
{txt}Group variable: {res}gwf_caseid{txt}{col 49}Number of groups{col 67}={col 69}{res}        89

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.1631{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.3209{col 63}{txt}avg{col 67}={col 69}{res}      10.4
{txt}     overall = {res}0.2614{col 63}{txt}max{col 67}={col 69}{res}        19

{txt}{col 49}F({res}23{txt},{res}88{txt}){col 67}={col 70}{res}     5.00
{txt}corr(u_i, Xb){col 16}= {res}-0.0783{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 78:(Std. Err. adjusted for {res:89} clusters in gwf_caseid)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}    pers_2pl{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}oil_new {c |}
{space 9}L2. {c |}{col 14}{res}{space 2} .0365001{col 26}{space 2} .0207211{col 37}{space 1}    1.76{col 46}{space 3}0.082{col 54}{space 4}-.0046788{col 67}{space 3} .0776789
{txt}{space 12} {c |}
{space 1}lincome_new {c |}
{space 9}L2. {c |}{col 14}{res}{space 2}-.0667334{col 26}{space 2} .2158293{col 37}{space 1}   -0.31{col 46}{space 3}0.758{col 54}{space 4}-.4956489{col 67}{space 3}  .362182
{txt}{space 12} {c |}
{space 2}popmad_adj {c |}
{space 9}L1. {c |}{col 14}{res}{space 2}-.0021856{col 26}{space 2} .0016725{col 37}{space 1}   -1.31{col 46}{space 3}0.195{col 54}{space 4}-.0055094{col 67}{space 3} .0011383
{txt}{space 12} {c |}
gwf_firstldr {c |}
{space 9}L1. {c |}{col 14}{res}{space 2} .2783048{col 26}{space 2} .1880725{col 37}{space 1}    1.48{col 46}{space 3}0.143{col 54}{space 4}-.0954498{col 67}{space 3} .6520593
{txt}{space 12} {c |}
{space 6}logdur {c |}
{space 9}L1. {c |}{col 14}{res}{space 2} .1315194{col 26}{space 2} .0396351{col 37}{space 1}    3.32{col 46}{space 3}0.001{col 54}{space 4}  .052753{col 67}{space 3} .2102858
{txt}{space 12} {c |}
{space 8}year {c |}
{space 7}1993  {c |}{col 14}{res}{space 2} .0515863{col 26}{space 2} .0334359{col 37}{space 1}    1.54{col 46}{space 3}0.126{col 54}{space 4}-.0148605{col 67}{space 3} .1180331
{txt}{space 7}1994  {c |}{col 14}{res}{space 2}-.0056956{col 26}{space 2} .0603191{col 37}{space 1}   -0.09{col 46}{space 3}0.925{col 54}{space 4}-.1255672{col 67}{space 3}  .114176
{txt}{space 7}1995  {c |}{col 14}{res}{space 2} .0164456{col 26}{space 2} .0587182{col 37}{space 1}    0.28{col 46}{space 3}0.780{col 54}{space 4}-.1002444{col 67}{space 3} .1331356
{txt}{space 7}1996  {c |}{col 14}{res}{space 2} .0351326{col 26}{space 2} .0633585{col 37}{space 1}    0.55{col 46}{space 3}0.581{col 54}{space 4} -.090779{col 67}{space 3} .1610443
{txt}{space 7}1997  {c |}{col 14}{res}{space 2} .0108961{col 26}{space 2} .0612461{col 37}{space 1}    0.18{col 46}{space 3}0.859{col 54}{space 4}-.1108178{col 67}{space 3} .1326099
{txt}{space 7}1998  {c |}{col 14}{res}{space 2}-.0018294{col 26}{space 2} .0655861{col 37}{space 1}   -0.03{col 46}{space 3}0.978{col 54}{space 4} -.132168{col 67}{space 3} .1285093
{txt}{space 7}1999  {c |}{col 14}{res}{space 2}-.0564572{col 26}{space 2} .0933372{col 37}{space 1}   -0.60{col 46}{space 3}0.547{col 54}{space 4}-.2419452{col 67}{space 3} .1290308
{txt}{space 7}2000  {c |}{col 14}{res}{space 2} .0031398{col 26}{space 2} .0748847{col 37}{space 1}    0.04{col 46}{space 3}0.967{col 54}{space 4}-.1456778{col 67}{space 3} .1519573
{txt}{space 7}2001  {c |}{col 14}{res}{space 2} .0193733{col 26}{space 2} .0772439{col 37}{space 1}    0.25{col 46}{space 3}0.803{col 54}{space 4}-.1341328{col 67}{space 3} .1728793
{txt}{space 7}2002  {c |}{col 14}{res}{space 2} -.023388{col 26}{space 2} .0714948{col 37}{space 1}   -0.33{col 46}{space 3}0.744{col 54}{space 4}-.1654689{col 67}{space 3}  .118693
{txt}{space 7}2003  {c |}{col 14}{res}{space 2} .0176409{col 26}{space 2} .0808897{col 37}{space 1}    0.22{col 46}{space 3}0.828{col 54}{space 4}-.1431104{col 67}{space 3} .1783921
{txt}{space 7}2004  {c |}{col 14}{res}{space 2} -.026216{col 26}{space 2} .0882592{col 37}{space 1}   -0.30{col 46}{space 3}0.767{col 54}{space 4}-.2016125{col 67}{space 3} .1491806
{txt}{space 7}2005  {c |}{col 14}{res}{space 2} .0062622{col 26}{space 2} .0842197{col 37}{space 1}    0.07{col 46}{space 3}0.941{col 54}{space 4}-.1611067{col 67}{space 3} .1736311
{txt}{space 7}2006  {c |}{col 14}{res}{space 2}-.0334849{col 26}{space 2} .1005017{col 37}{space 1}   -0.33{col 46}{space 3}0.740{col 54}{space 4}-.2332109{col 67}{space 3} .1662411
{txt}{space 7}2007  {c |}{col 14}{res}{space 2} .0112073{col 26}{space 2} .1084749{col 37}{space 1}    0.10{col 46}{space 3}0.918{col 54}{space 4}-.2043637{col 67}{space 3} .2267784
{txt}{space 7}2008  {c |}{col 14}{res}{space 2}-.0027073{col 26}{space 2} .1128141{col 37}{space 1}   -0.02{col 46}{space 3}0.981{col 54}{space 4}-.2269016{col 67}{space 3} .2214871
{txt}{space 7}2009  {c |}{col 14}{res}{space 2} .0003475{col 26}{space 2} .1196883{col 37}{space 1}    0.00{col 46}{space 3}0.998{col 54}{space 4}-.2375079{col 67}{space 3} .2382029
{txt}{space 7}2010  {c |}{col 14}{res}{space 2} .0650016{col 26}{space 2} .1333348{col 37}{space 1}    0.49{col 46}{space 3}0.627{col 54}{space 4}-.1999732{col 67}{space 3} .3299764
{txt}{space 12} {c |}
{space 7}_cons {c |}{col 14}{res}{space 2} .2560418{col 26}{space 2} 1.637153{col 37}{space 1}    0.16{col 46}{space 3}0.876{col 54}{space 4}-2.997456{col 67}{space 3} 3.509539
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} .63603138
     {txt}sigma_e {c |} {res}  .2792799
         {txt}rho {c |} {res} .83835875{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}

{com}. centile oil_new logdur gwf_firstldr if e(sample), centile(25 75)

{txt}{col 56}{hline 2} Binom. Interp. {hline 2}
    Variable {c |}       Obs  Percentile    Centile        [95% Conf. Interval]
{hline 13}{c +}{hline 61}
     oil_new {c |}{col 14}{res}       928{col 29}     25{col 39}        0{col 55}        0{col 67}        0{txt}
             {c |}{res}{col 29}     75{col 39} 5.025818{col 55} 4.743321{col 67} 5.455175{txt}
      logdur {c |}{col 14}{res}       928{col 29}     25{col 39} 1.609438{col 55} 1.386294{col 67} 1.609438{txt}
             {c |}{res}{col 29}     75{col 39} 2.833213{col 55} 2.772589{col 67} 2.890372{txt}
gwf_firstldr {c |}{col 14}{res}       928{col 29}     25{col 39}        0{col 55}        0{col 67}        0{txt}
             {c |}{res}{col 29}     75{col 39}        1{col 55}        1{col 67}        1{txt}

{com}. 
. margins, at(l2.oil_new=(0,5.025)) atmeans level(90) contrast(at effects) post
{res}
{txt}Contrasts of adjusted predictions
Model VCE{col 14}: {res}Robust

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Linear prediction, predict()}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:1._at}:{space 1}{res:{txt:L2.oil_new}{space 6}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L2.lincome~w}{space 4}{txt:=} {space 3}8.056082 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.popmad_adj}{space 4}{txt:=} {space 3}47.56685 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.gwf_firs~r}{space 4}{txt:=} {space 3}.4924569 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.logdur}{space 8}{txt:=} {space 3}2.117583 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1992.year}{space 7}{txt:=} {space 3}.0538793 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1993.year}{space 7}{txt:=} {space 3}.0549569 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1994.year}{space 7}{txt:=} {space 3}.0538793 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1995.year}{space 7}{txt:=} {space 3}.0528017 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1996.year}{space 7}{txt:=} {space 3}.0538793 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1997.year}{space 7}{txt:=} {space 3}.0581897 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1998.year}{space 7}{txt:=} {space 3}.0592672 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1999.year}{space 7}{txt:=} {space 3}.0592672 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2000.year}{space 7}{txt:=} {space 3}.0560345 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2001.year}{space 7}{txt:=} {space 3}.0538793 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2002.year}{space 7}{txt:=} {space 3}.0571121 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2003.year}{space 7}{txt:=} {space 3}.0549569 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2004.year}{space 7}{txt:=} {space 4}.049569 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2005.year}{space 7}{txt:=} {space 3}.0484914 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2006.year}{space 7}{txt:=} {space 3}.0484914 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2007.year}{space 7}{txt:=} {space 3}.0463362 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2008.year}{space 7}{txt:=} {space 4}.044181 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2009.year}{space 7}{txt:=} {space 3}.0484914 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2010.year}{space 7}{txt:=} {space 3}.0463362 {txt:(mean)}}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:2._at}:{space 1}{res:{txt:L2.oil_new}{space 6}{txt:=} {space 6}5.025}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L2.lincome~w}{space 4}{txt:=} {space 3}8.056082 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.popmad_adj}{space 4}{txt:=} {space 3}47.56685 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.gwf_firs~r}{space 4}{txt:=} {space 3}.4924569 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.logdur}{space 8}{txt:=} {space 3}2.117583 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1992.year}{space 7}{txt:=} {space 3}.0538793 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1993.year}{space 7}{txt:=} {space 3}.0549569 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1994.year}{space 7}{txt:=} {space 3}.0538793 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1995.year}{space 7}{txt:=} {space 3}.0528017 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1996.year}{space 7}{txt:=} {space 3}.0538793 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1997.year}{space 7}{txt:=} {space 3}.0581897 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1998.year}{space 7}{txt:=} {space 3}.0592672 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1999.year}{space 7}{txt:=} {space 3}.0592672 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2000.year}{space 7}{txt:=} {space 3}.0560345 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2001.year}{space 7}{txt:=} {space 3}.0538793 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2002.year}{space 7}{txt:=} {space 3}.0571121 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2003.year}{space 7}{txt:=} {space 3}.0549569 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2004.year}{space 7}{txt:=} {space 4}.049569 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2005.year}{space 7}{txt:=} {space 3}.0484914 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2006.year}{space 7}{txt:=} {space 3}.0484914 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2007.year}{space 7}{txt:=} {space 3}.0463362 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2008.year}{space 7}{txt:=} {space 4}.044181 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2009.year}{space 7}{txt:=} {space 3}.0484914 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2010.year}{space 7}{txt:=} {space 3}.0463362 {txt:(mean)}}{p_end}
{p2colreset}{...}

{col 1}{text}{hline 13}{c TT}{hline 11}{hline 12}{hline 11}
{col 14}{text}{c |}         df{col 26}        chi2{col 38}     P>chi2
{col 1}{text}{hline 13}{c +}{hline 11}{hline 12}{hline 11}
{space 9}_at {col 14}{text}{c |}{result}{space 2}        1{col 26}{space 3}     3.10{col 38}{space 2}   0.0782
{col 1}{text}{hline 13}{c BT}{hline 11}{hline 12}{hline 11}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}   Contrast{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [90% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}_at {c |}
(2 vs base)  {c |}{col 14}{res}{space 2} .1834128{col 26}{space 2} .1041235{col 37}{space 1}    1.76{col 46}{space 3}0.078{col 54}{space 4} .0121449{col 67}{space 3} .3546807
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. estimates store margins_1
{txt}
{com}. 
. xtreg pers_2pl l2.oil_new l2.lincome_new l.popmad_adj l.gwf_firstldr l.logdur i.year if year>1991 & oil_new<8.120672, fe robust
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       928
{txt}Group variable: {res}gwf_caseid{txt}{col 49}Number of groups{col 67}={col 69}{res}        89

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.1631{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.3209{col 63}{txt}avg{col 67}={col 69}{res}      10.4
{txt}     overall = {res}0.2614{col 63}{txt}max{col 67}={col 69}{res}        19

{txt}{col 49}F({res}23{txt},{res}88{txt}){col 67}={col 70}{res}     5.00
{txt}corr(u_i, Xb){col 16}= {res}-0.0783{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 78:(Std. Err. adjusted for {res:89} clusters in gwf_caseid)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}    pers_2pl{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}oil_new {c |}
{space 9}L2. {c |}{col 14}{res}{space 2} .0365001{col 26}{space 2} .0207211{col 37}{space 1}    1.76{col 46}{space 3}0.082{col 54}{space 4}-.0046788{col 67}{space 3} .0776789
{txt}{space 12} {c |}
{space 1}lincome_new {c |}
{space 9}L2. {c |}{col 14}{res}{space 2}-.0667334{col 26}{space 2} .2158293{col 37}{space 1}   -0.31{col 46}{space 3}0.758{col 54}{space 4}-.4956489{col 67}{space 3}  .362182
{txt}{space 12} {c |}
{space 2}popmad_adj {c |}
{space 9}L1. {c |}{col 14}{res}{space 2}-.0021856{col 26}{space 2} .0016725{col 37}{space 1}   -1.31{col 46}{space 3}0.195{col 54}{space 4}-.0055094{col 67}{space 3} .0011383
{txt}{space 12} {c |}
gwf_firstldr {c |}
{space 9}L1. {c |}{col 14}{res}{space 2} .2783048{col 26}{space 2} .1880725{col 37}{space 1}    1.48{col 46}{space 3}0.143{col 54}{space 4}-.0954498{col 67}{space 3} .6520593
{txt}{space 12} {c |}
{space 6}logdur {c |}
{space 9}L1. {c |}{col 14}{res}{space 2} .1315194{col 26}{space 2} .0396351{col 37}{space 1}    3.32{col 46}{space 3}0.001{col 54}{space 4}  .052753{col 67}{space 3} .2102858
{txt}{space 12} {c |}
{space 8}year {c |}
{space 7}1993  {c |}{col 14}{res}{space 2} .0515863{col 26}{space 2} .0334359{col 37}{space 1}    1.54{col 46}{space 3}0.126{col 54}{space 4}-.0148605{col 67}{space 3} .1180331
{txt}{space 7}1994  {c |}{col 14}{res}{space 2}-.0056956{col 26}{space 2} .0603191{col 37}{space 1}   -0.09{col 46}{space 3}0.925{col 54}{space 4}-.1255672{col 67}{space 3}  .114176
{txt}{space 7}1995  {c |}{col 14}{res}{space 2} .0164456{col 26}{space 2} .0587182{col 37}{space 1}    0.28{col 46}{space 3}0.780{col 54}{space 4}-.1002444{col 67}{space 3} .1331356
{txt}{space 7}1996  {c |}{col 14}{res}{space 2} .0351326{col 26}{space 2} .0633585{col 37}{space 1}    0.55{col 46}{space 3}0.581{col 54}{space 4} -.090779{col 67}{space 3} .1610443
{txt}{space 7}1997  {c |}{col 14}{res}{space 2} .0108961{col 26}{space 2} .0612461{col 37}{space 1}    0.18{col 46}{space 3}0.859{col 54}{space 4}-.1108178{col 67}{space 3} .1326099
{txt}{space 7}1998  {c |}{col 14}{res}{space 2}-.0018294{col 26}{space 2} .0655861{col 37}{space 1}   -0.03{col 46}{space 3}0.978{col 54}{space 4} -.132168{col 67}{space 3} .1285093
{txt}{space 7}1999  {c |}{col 14}{res}{space 2}-.0564572{col 26}{space 2} .0933372{col 37}{space 1}   -0.60{col 46}{space 3}0.547{col 54}{space 4}-.2419452{col 67}{space 3} .1290308
{txt}{space 7}2000  {c |}{col 14}{res}{space 2} .0031398{col 26}{space 2} .0748847{col 37}{space 1}    0.04{col 46}{space 3}0.967{col 54}{space 4}-.1456778{col 67}{space 3} .1519573
{txt}{space 7}2001  {c |}{col 14}{res}{space 2} .0193733{col 26}{space 2} .0772439{col 37}{space 1}    0.25{col 46}{space 3}0.803{col 54}{space 4}-.1341328{col 67}{space 3} .1728793
{txt}{space 7}2002  {c |}{col 14}{res}{space 2} -.023388{col 26}{space 2} .0714948{col 37}{space 1}   -0.33{col 46}{space 3}0.744{col 54}{space 4}-.1654689{col 67}{space 3}  .118693
{txt}{space 7}2003  {c |}{col 14}{res}{space 2} .0176409{col 26}{space 2} .0808897{col 37}{space 1}    0.22{col 46}{space 3}0.828{col 54}{space 4}-.1431104{col 67}{space 3} .1783921
{txt}{space 7}2004  {c |}{col 14}{res}{space 2} -.026216{col 26}{space 2} .0882592{col 37}{space 1}   -0.30{col 46}{space 3}0.767{col 54}{space 4}-.2016125{col 67}{space 3} .1491806
{txt}{space 7}2005  {c |}{col 14}{res}{space 2} .0062622{col 26}{space 2} .0842197{col 37}{space 1}    0.07{col 46}{space 3}0.941{col 54}{space 4}-.1611067{col 67}{space 3} .1736311
{txt}{space 7}2006  {c |}{col 14}{res}{space 2}-.0334849{col 26}{space 2} .1005017{col 37}{space 1}   -0.33{col 46}{space 3}0.740{col 54}{space 4}-.2332109{col 67}{space 3} .1662411
{txt}{space 7}2007  {c |}{col 14}{res}{space 2} .0112073{col 26}{space 2} .1084749{col 37}{space 1}    0.10{col 46}{space 3}0.918{col 54}{space 4}-.2043637{col 67}{space 3} .2267784
{txt}{space 7}2008  {c |}{col 14}{res}{space 2}-.0027073{col 26}{space 2} .1128141{col 37}{space 1}   -0.02{col 46}{space 3}0.981{col 54}{space 4}-.2269016{col 67}{space 3} .2214871
{txt}{space 7}2009  {c |}{col 14}{res}{space 2} .0003475{col 26}{space 2} .1196883{col 37}{space 1}    0.00{col 46}{space 3}0.998{col 54}{space 4}-.2375079{col 67}{space 3} .2382029
{txt}{space 7}2010  {c |}{col 14}{res}{space 2} .0650016{col 26}{space 2} .1333348{col 37}{space 1}    0.49{col 46}{space 3}0.627{col 54}{space 4}-.1999732{col 67}{space 3} .3299764
{txt}{space 12} {c |}
{space 7}_cons {c |}{col 14}{res}{space 2} .2560418{col 26}{space 2} 1.637153{col 37}{space 1}    0.16{col 46}{space 3}0.876{col 54}{space 4}-2.997456{col 67}{space 3} 3.509539
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} .63603138
     {txt}sigma_e {c |} {res}  .2792799
         {txt}rho {c |} {res} .83835875{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}

{com}. margins, at(l.logdur=(1.609,2.833)) atmeans level(90) contrast(at effects) post
{res}
{txt}Contrasts of adjusted predictions
Model VCE{col 14}: {res}Robust

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Linear prediction, predict()}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:1._at}:{space 1}{res:{txt:L2.oil_new}{space 6}{txt:=} {space 3}2.431715 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L2.lincome~w}{space 4}{txt:=} {space 3}8.056082 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.popmad_adj}{space 4}{txt:=} {space 3}47.56685 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.gwf_firs~r}{space 4}{txt:=} {space 3}.4924569 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.logdur}{space 8}{txt:=} {space 6}1.609}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1992.year}{space 7}{txt:=} {space 3}.0538793 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1993.year}{space 7}{txt:=} {space 3}.0549569 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1994.year}{space 7}{txt:=} {space 3}.0538793 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1995.year}{space 7}{txt:=} {space 3}.0528017 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1996.year}{space 7}{txt:=} {space 3}.0538793 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1997.year}{space 7}{txt:=} {space 3}.0581897 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1998.year}{space 7}{txt:=} {space 3}.0592672 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1999.year}{space 7}{txt:=} {space 3}.0592672 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2000.year}{space 7}{txt:=} {space 3}.0560345 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2001.year}{space 7}{txt:=} {space 3}.0538793 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2002.year}{space 7}{txt:=} {space 3}.0571121 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2003.year}{space 7}{txt:=} {space 3}.0549569 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2004.year}{space 7}{txt:=} {space 4}.049569 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2005.year}{space 7}{txt:=} {space 3}.0484914 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2006.year}{space 7}{txt:=} {space 3}.0484914 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2007.year}{space 7}{txt:=} {space 3}.0463362 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2008.year}{space 7}{txt:=} {space 4}.044181 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2009.year}{space 7}{txt:=} {space 3}.0484914 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2010.year}{space 7}{txt:=} {space 3}.0463362 {txt:(mean)}}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:2._at}:{space 1}{res:{txt:L2.oil_new}{space 6}{txt:=} {space 3}2.431715 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L2.lincome~w}{space 4}{txt:=} {space 3}8.056082 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.popmad_adj}{space 4}{txt:=} {space 3}47.56685 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.gwf_firs~r}{space 4}{txt:=} {space 3}.4924569 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.logdur}{space 8}{txt:=} {space 6}2.833}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1992.year}{space 7}{txt:=} {space 3}.0538793 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1993.year}{space 7}{txt:=} {space 3}.0549569 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1994.year}{space 7}{txt:=} {space 3}.0538793 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1995.year}{space 7}{txt:=} {space 3}.0528017 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1996.year}{space 7}{txt:=} {space 3}.0538793 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1997.year}{space 7}{txt:=} {space 3}.0581897 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1998.year}{space 7}{txt:=} {space 3}.0592672 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1999.year}{space 7}{txt:=} {space 3}.0592672 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2000.year}{space 7}{txt:=} {space 3}.0560345 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2001.year}{space 7}{txt:=} {space 3}.0538793 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2002.year}{space 7}{txt:=} {space 3}.0571121 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2003.year}{space 7}{txt:=} {space 3}.0549569 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2004.year}{space 7}{txt:=} {space 4}.049569 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2005.year}{space 7}{txt:=} {space 3}.0484914 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2006.year}{space 7}{txt:=} {space 3}.0484914 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2007.year}{space 7}{txt:=} {space 3}.0463362 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2008.year}{space 7}{txt:=} {space 4}.044181 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2009.year}{space 7}{txt:=} {space 3}.0484914 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2010.year}{space 7}{txt:=} {space 3}.0463362 {txt:(mean)}}{p_end}
{p2colreset}{...}

{col 1}{text}{hline 13}{c TT}{hline 11}{hline 12}{hline 11}
{col 14}{text}{c |}         df{col 26}        chi2{col 38}     P>chi2
{col 1}{text}{hline 13}{c +}{hline 11}{hline 12}{hline 11}
{space 9}_at {col 14}{text}{c |}{result}{space 2}        1{col 26}{space 3}    11.01{col 38}{space 2}   0.0009
{col 1}{text}{hline 13}{c BT}{hline 11}{hline 12}{hline 11}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}   Contrast{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [90% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}_at {c |}
(2 vs base)  {c |}{col 14}{res}{space 2} .1609798{col 26}{space 2} .0485133{col 37}{space 1}    3.32{col 46}{space 3}0.001{col 54}{space 4} .0811824{col 67}{space 3} .2407771
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. estimates store margins_2
{txt}
{com}. 
. xtreg pers_2pl l2.oil_new l2.lincome_new l.popmad_adj l.gwf_firstldr l.logdur i.year if year>1991 & oil_new<8.120672, fe robust
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       928
{txt}Group variable: {res}gwf_caseid{txt}{col 49}Number of groups{col 67}={col 69}{res}        89

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.1631{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.3209{col 63}{txt}avg{col 67}={col 69}{res}      10.4
{txt}     overall = {res}0.2614{col 63}{txt}max{col 67}={col 69}{res}        19

{txt}{col 49}F({res}23{txt},{res}88{txt}){col 67}={col 70}{res}     5.00
{txt}corr(u_i, Xb){col 16}= {res}-0.0783{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 78:(Std. Err. adjusted for {res:89} clusters in gwf_caseid)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}    pers_2pl{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}oil_new {c |}
{space 9}L2. {c |}{col 14}{res}{space 2} .0365001{col 26}{space 2} .0207211{col 37}{space 1}    1.76{col 46}{space 3}0.082{col 54}{space 4}-.0046788{col 67}{space 3} .0776789
{txt}{space 12} {c |}
{space 1}lincome_new {c |}
{space 9}L2. {c |}{col 14}{res}{space 2}-.0667334{col 26}{space 2} .2158293{col 37}{space 1}   -0.31{col 46}{space 3}0.758{col 54}{space 4}-.4956489{col 67}{space 3}  .362182
{txt}{space 12} {c |}
{space 2}popmad_adj {c |}
{space 9}L1. {c |}{col 14}{res}{space 2}-.0021856{col 26}{space 2} .0016725{col 37}{space 1}   -1.31{col 46}{space 3}0.195{col 54}{space 4}-.0055094{col 67}{space 3} .0011383
{txt}{space 12} {c |}
gwf_firstldr {c |}
{space 9}L1. {c |}{col 14}{res}{space 2} .2783048{col 26}{space 2} .1880725{col 37}{space 1}    1.48{col 46}{space 3}0.143{col 54}{space 4}-.0954498{col 67}{space 3} .6520593
{txt}{space 12} {c |}
{space 6}logdur {c |}
{space 9}L1. {c |}{col 14}{res}{space 2} .1315194{col 26}{space 2} .0396351{col 37}{space 1}    3.32{col 46}{space 3}0.001{col 54}{space 4}  .052753{col 67}{space 3} .2102858
{txt}{space 12} {c |}
{space 8}year {c |}
{space 7}1993  {c |}{col 14}{res}{space 2} .0515863{col 26}{space 2} .0334359{col 37}{space 1}    1.54{col 46}{space 3}0.126{col 54}{space 4}-.0148605{col 67}{space 3} .1180331
{txt}{space 7}1994  {c |}{col 14}{res}{space 2}-.0056956{col 26}{space 2} .0603191{col 37}{space 1}   -0.09{col 46}{space 3}0.925{col 54}{space 4}-.1255672{col 67}{space 3}  .114176
{txt}{space 7}1995  {c |}{col 14}{res}{space 2} .0164456{col 26}{space 2} .0587182{col 37}{space 1}    0.28{col 46}{space 3}0.780{col 54}{space 4}-.1002444{col 67}{space 3} .1331356
{txt}{space 7}1996  {c |}{col 14}{res}{space 2} .0351326{col 26}{space 2} .0633585{col 37}{space 1}    0.55{col 46}{space 3}0.581{col 54}{space 4} -.090779{col 67}{space 3} .1610443
{txt}{space 7}1997  {c |}{col 14}{res}{space 2} .0108961{col 26}{space 2} .0612461{col 37}{space 1}    0.18{col 46}{space 3}0.859{col 54}{space 4}-.1108178{col 67}{space 3} .1326099
{txt}{space 7}1998  {c |}{col 14}{res}{space 2}-.0018294{col 26}{space 2} .0655861{col 37}{space 1}   -0.03{col 46}{space 3}0.978{col 54}{space 4} -.132168{col 67}{space 3} .1285093
{txt}{space 7}1999  {c |}{col 14}{res}{space 2}-.0564572{col 26}{space 2} .0933372{col 37}{space 1}   -0.60{col 46}{space 3}0.547{col 54}{space 4}-.2419452{col 67}{space 3} .1290308
{txt}{space 7}2000  {c |}{col 14}{res}{space 2} .0031398{col 26}{space 2} .0748847{col 37}{space 1}    0.04{col 46}{space 3}0.967{col 54}{space 4}-.1456778{col 67}{space 3} .1519573
{txt}{space 7}2001  {c |}{col 14}{res}{space 2} .0193733{col 26}{space 2} .0772439{col 37}{space 1}    0.25{col 46}{space 3}0.803{col 54}{space 4}-.1341328{col 67}{space 3} .1728793
{txt}{space 7}2002  {c |}{col 14}{res}{space 2} -.023388{col 26}{space 2} .0714948{col 37}{space 1}   -0.33{col 46}{space 3}0.744{col 54}{space 4}-.1654689{col 67}{space 3}  .118693
{txt}{space 7}2003  {c |}{col 14}{res}{space 2} .0176409{col 26}{space 2} .0808897{col 37}{space 1}    0.22{col 46}{space 3}0.828{col 54}{space 4}-.1431104{col 67}{space 3} .1783921
{txt}{space 7}2004  {c |}{col 14}{res}{space 2} -.026216{col 26}{space 2} .0882592{col 37}{space 1}   -0.30{col 46}{space 3}0.767{col 54}{space 4}-.2016125{col 67}{space 3} .1491806
{txt}{space 7}2005  {c |}{col 14}{res}{space 2} .0062622{col 26}{space 2} .0842197{col 37}{space 1}    0.07{col 46}{space 3}0.941{col 54}{space 4}-.1611067{col 67}{space 3} .1736311
{txt}{space 7}2006  {c |}{col 14}{res}{space 2}-.0334849{col 26}{space 2} .1005017{col 37}{space 1}   -0.33{col 46}{space 3}0.740{col 54}{space 4}-.2332109{col 67}{space 3} .1662411
{txt}{space 7}2007  {c |}{col 14}{res}{space 2} .0112073{col 26}{space 2} .1084749{col 37}{space 1}    0.10{col 46}{space 3}0.918{col 54}{space 4}-.2043637{col 67}{space 3} .2267784
{txt}{space 7}2008  {c |}{col 14}{res}{space 2}-.0027073{col 26}{space 2} .1128141{col 37}{space 1}   -0.02{col 46}{space 3}0.981{col 54}{space 4}-.2269016{col 67}{space 3} .2214871
{txt}{space 7}2009  {c |}{col 14}{res}{space 2} .0003475{col 26}{space 2} .1196883{col 37}{space 1}    0.00{col 46}{space 3}0.998{col 54}{space 4}-.2375079{col 67}{space 3} .2382029
{txt}{space 7}2010  {c |}{col 14}{res}{space 2} .0650016{col 26}{space 2} .1333348{col 37}{space 1}    0.49{col 46}{space 3}0.627{col 54}{space 4}-.1999732{col 67}{space 3} .3299764
{txt}{space 12} {c |}
{space 7}_cons {c |}{col 14}{res}{space 2} .2560418{col 26}{space 2} 1.637153{col 37}{space 1}    0.16{col 46}{space 3}0.876{col 54}{space 4}-2.997456{col 67}{space 3} 3.509539
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} .63603138
     {txt}sigma_e {c |} {res}  .2792799
         {txt}rho {c |} {res} .83835875{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}

{com}. margins, at(l.gwf_firstldr=(0,1)) atmeans level(90) contrast(at effects) post
{res}
{txt}Contrasts of adjusted predictions
Model VCE{col 14}: {res}Robust

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Linear prediction, predict()}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:1._at}:{space 1}{res:{txt:L2.oil_new}{space 6}{txt:=} {space 3}2.431715 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L2.lincome~w}{space 4}{txt:=} {space 3}8.056082 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.popmad_adj}{space 4}{txt:=} {space 3}47.56685 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.gwf_firs~r}{space 4}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.logdur}{space 8}{txt:=} {space 3}2.117583 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1992.year}{space 7}{txt:=} {space 3}.0538793 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1993.year}{space 7}{txt:=} {space 3}.0549569 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1994.year}{space 7}{txt:=} {space 3}.0538793 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1995.year}{space 7}{txt:=} {space 3}.0528017 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1996.year}{space 7}{txt:=} {space 3}.0538793 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1997.year}{space 7}{txt:=} {space 3}.0581897 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1998.year}{space 7}{txt:=} {space 3}.0592672 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1999.year}{space 7}{txt:=} {space 3}.0592672 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2000.year}{space 7}{txt:=} {space 3}.0560345 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2001.year}{space 7}{txt:=} {space 3}.0538793 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2002.year}{space 7}{txt:=} {space 3}.0571121 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2003.year}{space 7}{txt:=} {space 3}.0549569 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2004.year}{space 7}{txt:=} {space 4}.049569 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2005.year}{space 7}{txt:=} {space 3}.0484914 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2006.year}{space 7}{txt:=} {space 3}.0484914 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2007.year}{space 7}{txt:=} {space 3}.0463362 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2008.year}{space 7}{txt:=} {space 4}.044181 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2009.year}{space 7}{txt:=} {space 3}.0484914 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2010.year}{space 7}{txt:=} {space 3}.0463362 {txt:(mean)}}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:2._at}:{space 1}{res:{txt:L2.oil_new}{space 6}{txt:=} {space 3}2.431715 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L2.lincome~w}{space 4}{txt:=} {space 3}8.056082 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.popmad_adj}{space 4}{txt:=} {space 3}47.56685 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.gwf_firs~r}{space 4}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.logdur}{space 8}{txt:=} {space 3}2.117583 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1992.year}{space 7}{txt:=} {space 3}.0538793 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1993.year}{space 7}{txt:=} {space 3}.0549569 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1994.year}{space 7}{txt:=} {space 3}.0538793 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1995.year}{space 7}{txt:=} {space 3}.0528017 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1996.year}{space 7}{txt:=} {space 3}.0538793 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1997.year}{space 7}{txt:=} {space 3}.0581897 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1998.year}{space 7}{txt:=} {space 3}.0592672 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1999.year}{space 7}{txt:=} {space 3}.0592672 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2000.year}{space 7}{txt:=} {space 3}.0560345 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2001.year}{space 7}{txt:=} {space 3}.0538793 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2002.year}{space 7}{txt:=} {space 3}.0571121 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2003.year}{space 7}{txt:=} {space 3}.0549569 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2004.year}{space 7}{txt:=} {space 4}.049569 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2005.year}{space 7}{txt:=} {space 3}.0484914 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2006.year}{space 7}{txt:=} {space 3}.0484914 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2007.year}{space 7}{txt:=} {space 3}.0463362 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2008.year}{space 7}{txt:=} {space 4}.044181 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2009.year}{space 7}{txt:=} {space 3}.0484914 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2010.year}{space 7}{txt:=} {space 3}.0463362 {txt:(mean)}}{p_end}
{p2colreset}{...}

{col 1}{text}{hline 13}{c TT}{hline 11}{hline 12}{hline 11}
{col 14}{text}{c |}         df{col 26}        chi2{col 38}     P>chi2
{col 1}{text}{hline 13}{c +}{hline 11}{hline 12}{hline 11}
{space 9}_at {col 14}{text}{c |}{result}{space 2}        1{col 26}{space 3}     2.19{col 38}{space 2}   0.1389
{col 1}{text}{hline 13}{c BT}{hline 11}{hline 12}{hline 11}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}   Contrast{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [90% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}_at {c |}
(2 vs base)  {c |}{col 14}{res}{space 2} .2783048{col 26}{space 2} .1880725{col 37}{space 1}    1.48{col 46}{space 3}0.139{col 54}{space 4}-.0310469{col 67}{space 3} .5876565
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. estimates store margins_3
{txt}
{com}. 
. *Model 3
. xtreg pers_2pl l2.oil_new l2.lincome_new l.popmad_adj l.gwf_firstldr l.logdur l2.in_pctgdp l2.tax i.year if year>1991, fe robust
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       844
{txt}Group variable: {res}gwf_caseid{txt}{col 49}Number of groups{col 67}={col 69}{res}        83

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.1649{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.3249{col 63}{txt}avg{col 67}={col 69}{res}      10.2
{txt}     overall = {res}0.3250{col 63}{txt}max{col 67}={col 69}{res}        19

{txt}{col 49}F({res}25{txt},{res}82{txt}){col 67}={col 70}{res}    17.09
{txt}corr(u_i, Xb){col 16}= {res}-0.0398{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 78:(Std. Err. adjusted for {res:83} clusters in gwf_caseid)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}    pers_2pl{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}oil_new {c |}
{space 9}L2. {c |}{col 14}{res}{space 2} .0693086{col 26}{space 2} .0266759{col 37}{space 1}    2.60{col 46}{space 3}0.011{col 54}{space 4} .0162418{col 67}{space 3} .1223754
{txt}{space 12} {c |}
{space 1}lincome_new {c |}
{space 9}L2. {c |}{col 14}{res}{space 2}-.3129442{col 26}{space 2} .3574862{col 37}{space 1}   -0.88{col 46}{space 3}0.384{col 54}{space 4}-1.024098{col 67}{space 3} .3982099
{txt}{space 12} {c |}
{space 2}popmad_adj {c |}
{space 9}L1. {c |}{col 14}{res}{space 2}-.0014607{col 26}{space 2} .0025624{col 37}{space 1}   -0.57{col 46}{space 3}0.570{col 54}{space 4}-.0065582{col 67}{space 3} .0036368
{txt}{space 12} {c |}
gwf_firstldr {c |}
{space 9}L1. {c |}{col 14}{res}{space 2} .3655374{col 26}{space 2} .2188461{col 37}{space 1}    1.67{col 46}{space 3}0.099{col 54}{space 4}-.0698172{col 67}{space 3}  .800892
{txt}{space 12} {c |}
{space 6}logdur {c |}
{space 9}L1. {c |}{col 14}{res}{space 2} .0916774{col 26}{space 2} .0383288{col 37}{space 1}    2.39{col 46}{space 3}0.019{col 54}{space 4} .0154292{col 67}{space 3} .1679256
{txt}{space 12} {c |}
{space 3}in_pctgdp {c |}
{space 9}L2. {c |}{col 14}{res}{space 2}-.0003706{col 26}{space 2} .0034489{col 37}{space 1}   -0.11{col 46}{space 3}0.915{col 54}{space 4}-.0072315{col 67}{space 3} .0064904
{txt}{space 12} {c |}
{space 9}tax {c |}
{space 9}L2. {c |}{col 14}{res}{space 2}  .004732{col 26}{space 2} .0070564{col 37}{space 1}    0.67{col 46}{space 3}0.504{col 54}{space 4}-.0093053{col 67}{space 3} .0187694
{txt}{space 12} {c |}
{space 8}year {c |}
{space 7}1993  {c |}{col 14}{res}{space 2} .0866388{col 26}{space 2}  .050058{col 37}{space 1}    1.73{col 46}{space 3}0.087{col 54}{space 4}-.0129425{col 67}{space 3}   .18622
{txt}{space 7}1994  {c |}{col 14}{res}{space 2} .0635544{col 26}{space 2} .0705846{col 37}{space 1}    0.90{col 46}{space 3}0.371{col 54}{space 4}-.0768609{col 67}{space 3} .2039697
{txt}{space 7}1995  {c |}{col 14}{res}{space 2} .0763768{col 26}{space 2} .0677174{col 37}{space 1}    1.13{col 46}{space 3}0.263{col 54}{space 4}-.0583348{col 67}{space 3} .2110883
{txt}{space 7}1996  {c |}{col 14}{res}{space 2} .0927543{col 26}{space 2}  .074994{col 37}{space 1}    1.24{col 46}{space 3}0.220{col 54}{space 4}-.0564327{col 67}{space 3} .2419413
{txt}{space 7}1997  {c |}{col 14}{res}{space 2} .0592702{col 26}{space 2} .0731623{col 37}{space 1}    0.81{col 46}{space 3}0.420{col 54}{space 4} -.086273{col 67}{space 3} .2048134
{txt}{space 7}1998  {c |}{col 14}{res}{space 2} .0381476{col 26}{space 2} .0771044{col 37}{space 1}    0.49{col 46}{space 3}0.622{col 54}{space 4}-.1152377{col 67}{space 3} .1915328
{txt}{space 7}1999  {c |}{col 14}{res}{space 2}  .005904{col 26}{space 2} .1087096{col 37}{space 1}    0.05{col 46}{space 3}0.957{col 54}{space 4}-.2103541{col 67}{space 3} .2221621
{txt}{space 7}2000  {c |}{col 14}{res}{space 2} .0524913{col 26}{space 2} .0927076{col 37}{space 1}    0.57{col 46}{space 3}0.573{col 54}{space 4}-.1319336{col 67}{space 3} .2369162
{txt}{space 7}2001  {c |}{col 14}{res}{space 2} .0553037{col 26}{space 2} .0960863{col 37}{space 1}    0.58{col 46}{space 3}0.566{col 54}{space 4}-.1358425{col 67}{space 3} .2464499
{txt}{space 7}2002  {c |}{col 14}{res}{space 2} -.002778{col 26}{space 2} .0895339{col 37}{space 1}   -0.03{col 46}{space 3}0.975{col 54}{space 4}-.1808895{col 67}{space 3} .1753334
{txt}{space 7}2003  {c |}{col 14}{res}{space 2}  .054405{col 26}{space 2} .1016643{col 37}{space 1}    0.54{col 46}{space 3}0.594{col 54}{space 4}-.1478376{col 67}{space 3} .2566476
{txt}{space 7}2004  {c |}{col 14}{res}{space 2} .0165589{col 26}{space 2} .0920365{col 37}{space 1}    0.18{col 46}{space 3}0.858{col 54}{space 4}-.1665309{col 67}{space 3} .1996488
{txt}{space 7}2005  {c |}{col 14}{res}{space 2}  .069014{col 26}{space 2} .1049598{col 37}{space 1}    0.66{col 46}{space 3}0.513{col 54}{space 4}-.1397844{col 67}{space 3} .2778124
{txt}{space 7}2006  {c |}{col 14}{res}{space 2} .0292076{col 26}{space 2} .1269501{col 37}{space 1}    0.23{col 46}{space 3}0.819{col 54}{space 4}-.2233366{col 67}{space 3} .2817519
{txt}{space 7}2007  {c |}{col 14}{res}{space 2} .0647375{col 26}{space 2} .1351628{col 37}{space 1}    0.48{col 46}{space 3}0.633{col 54}{space 4}-.2041444{col 67}{space 3} .3336195
{txt}{space 7}2008  {c |}{col 14}{res}{space 2} .0741608{col 26}{space 2} .1511297{col 37}{space 1}    0.49{col 46}{space 3}0.625{col 54}{space 4}-.2264844{col 67}{space 3}  .374806
{txt}{space 7}2009  {c |}{col 14}{res}{space 2} .0712779{col 26}{space 2} .1686263{col 37}{space 1}    0.42{col 46}{space 3}0.674{col 54}{space 4}-.2641736{col 67}{space 3} .4067294
{txt}{space 7}2010  {c |}{col 14}{res}{space 2} .1003215{col 26}{space 2} .1761879{col 37}{space 1}    0.57{col 46}{space 3}0.571{col 54}{space 4}-.2501723{col 67}{space 3} .4508153
{txt}{space 12} {c |}
{space 7}_cons {c |}{col 14}{res}{space 2} 2.094625{col 26}{space 2} 2.790642{col 37}{space 1}    0.75{col 46}{space 3}0.455{col 54}{space 4}-3.456851{col 67}{space 3} 7.646101
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} .60870586
     {txt}sigma_e {c |} {res} .27829424
         {txt}rho {c |} {res} .82711432{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}

{com}. centile oil_new logdur gwf_firstldr if e(sample), centile(25 75)

{txt}{col 56}{hline 2} Binom. Interp. {hline 2}
    Variable {c |}       Obs  Percentile    Centile        [95% Conf. Interval]
{hline 13}{c +}{hline 61}
     oil_new {c |}{col 14}{res}       844{col 29}     25{col 39}        0{col 55}        0{col 67}        0{txt}
             {c |}{res}{col 29}     75{col 39} 6.342112{col 55} 6.080718{col 67} 6.688444{txt}
      logdur {c |}{col 14}{res}       844{col 29}     25{col 39} 1.609438{col 55} 1.609438{col 67} 1.791759{txt}
             {c |}{res}{col 29}     75{col 39} 2.890372{col 55} 2.833213{col 67} 2.995732{txt}
gwf_firstldr {c |}{col 14}{res}       844{col 29}     25{col 39}        0{col 55}        0{col 67}        0{txt}
             {c |}{res}{col 29}     75{col 39}        1{col 55}        1{col 67}        1{txt}

{com}. 
. margins, at(l2.oil_new=(0,5.025)) atmeans level(90) contrast(at effects) post
{res}
{txt}Contrasts of adjusted predictions
Model VCE{col 14}: {res}Robust

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Linear prediction, predict()}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:1._at}:{space 1}{res:{txt:L2.oil_new}{space 6}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L2.lincome~w}{space 4}{txt:=} {space 4}8.40582 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.popmad_adj}{space 4}{txt:=} {space 3}48.41121 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.gwf_firs~r}{space 4}{txt:=} {space 4}.436019 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.logdur}{space 8}{txt:=} {space 3}2.178983 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L2.in_pctgdp}{space 4}{txt:=} {space 3}3.793804 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L2.tax}{space 10}{txt:=} {space 3}13.90792 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1992.year}{space 7}{txt:=} {space 3}.0438389 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1993.year}{space 7}{txt:=} {space 3}.0473934 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1994.year}{space 7}{txt:=} {space 4}.042654 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1995.year}{space 7}{txt:=} {space 3}.0402844 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1996.year}{space 7}{txt:=} {space 4}.042654 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1997.year}{space 7}{txt:=} {space 3}.0473934 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1998.year}{space 7}{txt:=} {space 3}.0509479 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1999.year}{space 7}{txt:=} {space 3}.0545024 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2000.year}{space 7}{txt:=} {space 3}.0533175 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2001.year}{space 7}{txt:=} {space 3}.0509479 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2002.year}{space 7}{txt:=} {space 3}.0592417 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2003.year}{space 7}{txt:=} {space 3}.0604265 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2004.year}{space 7}{txt:=} {space 3}.0592417 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2005.year}{space 7}{txt:=} {space 3}.0592417 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2006.year}{space 7}{txt:=} {space 3}.0580569 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2007.year}{space 7}{txt:=} {space 4}.056872 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2008.year}{space 7}{txt:=} {space 3}.0592417 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2009.year}{space 7}{txt:=} {space 4}.056872 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2010.year}{space 7}{txt:=} {space 4}.056872 {txt:(mean)}}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:2._at}:{space 1}{res:{txt:L2.oil_new}{space 6}{txt:=} {space 6}5.025}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L2.lincome~w}{space 4}{txt:=} {space 4}8.40582 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.popmad_adj}{space 4}{txt:=} {space 3}48.41121 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.gwf_firs~r}{space 4}{txt:=} {space 4}.436019 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.logdur}{space 8}{txt:=} {space 3}2.178983 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L2.in_pctgdp}{space 4}{txt:=} {space 3}3.793804 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L2.tax}{space 10}{txt:=} {space 3}13.90792 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1992.year}{space 7}{txt:=} {space 3}.0438389 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1993.year}{space 7}{txt:=} {space 3}.0473934 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1994.year}{space 7}{txt:=} {space 4}.042654 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1995.year}{space 7}{txt:=} {space 3}.0402844 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1996.year}{space 7}{txt:=} {space 4}.042654 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1997.year}{space 7}{txt:=} {space 3}.0473934 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1998.year}{space 7}{txt:=} {space 3}.0509479 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1999.year}{space 7}{txt:=} {space 3}.0545024 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2000.year}{space 7}{txt:=} {space 3}.0533175 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2001.year}{space 7}{txt:=} {space 3}.0509479 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2002.year}{space 7}{txt:=} {space 3}.0592417 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2003.year}{space 7}{txt:=} {space 3}.0604265 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2004.year}{space 7}{txt:=} {space 3}.0592417 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2005.year}{space 7}{txt:=} {space 3}.0592417 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2006.year}{space 7}{txt:=} {space 3}.0580569 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2007.year}{space 7}{txt:=} {space 4}.056872 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2008.year}{space 7}{txt:=} {space 3}.0592417 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2009.year}{space 7}{txt:=} {space 4}.056872 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2010.year}{space 7}{txt:=} {space 4}.056872 {txt:(mean)}}{p_end}
{p2colreset}{...}

{col 1}{text}{hline 13}{c TT}{hline 11}{hline 12}{hline 11}
{col 14}{text}{c |}         df{col 26}        chi2{col 38}     P>chi2
{col 1}{text}{hline 13}{c +}{hline 11}{hline 12}{hline 11}
{space 9}_at {col 14}{text}{c |}{result}{space 2}        1{col 26}{space 3}     6.75{col 38}{space 2}   0.0094
{col 1}{text}{hline 13}{c BT}{hline 11}{hline 12}{hline 11}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}   Contrast{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [90% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}_at {c |}
(2 vs base)  {c |}{col 14}{res}{space 2} .3482758{col 26}{space 2} .1340463{col 37}{space 1}    2.60{col 46}{space 3}0.009{col 54}{space 4} .1277893{col 67}{space 3} .5687623
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. estimates store margins_4
{txt}
{com}. 
. xtreg pers_2pl l2.oil_new l2.lincome_new l.popmad_adj l.gwf_firstldr l.logdur l2.in_pctgdp l2.tax i.year if year>1991, fe robust
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       844
{txt}Group variable: {res}gwf_caseid{txt}{col 49}Number of groups{col 67}={col 69}{res}        83

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.1649{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.3249{col 63}{txt}avg{col 67}={col 69}{res}      10.2
{txt}     overall = {res}0.3250{col 63}{txt}max{col 67}={col 69}{res}        19

{txt}{col 49}F({res}25{txt},{res}82{txt}){col 67}={col 70}{res}    17.09
{txt}corr(u_i, Xb){col 16}= {res}-0.0398{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 78:(Std. Err. adjusted for {res:83} clusters in gwf_caseid)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}    pers_2pl{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}oil_new {c |}
{space 9}L2. {c |}{col 14}{res}{space 2} .0693086{col 26}{space 2} .0266759{col 37}{space 1}    2.60{col 46}{space 3}0.011{col 54}{space 4} .0162418{col 67}{space 3} .1223754
{txt}{space 12} {c |}
{space 1}lincome_new {c |}
{space 9}L2. {c |}{col 14}{res}{space 2}-.3129442{col 26}{space 2} .3574862{col 37}{space 1}   -0.88{col 46}{space 3}0.384{col 54}{space 4}-1.024098{col 67}{space 3} .3982099
{txt}{space 12} {c |}
{space 2}popmad_adj {c |}
{space 9}L1. {c |}{col 14}{res}{space 2}-.0014607{col 26}{space 2} .0025624{col 37}{space 1}   -0.57{col 46}{space 3}0.570{col 54}{space 4}-.0065582{col 67}{space 3} .0036368
{txt}{space 12} {c |}
gwf_firstldr {c |}
{space 9}L1. {c |}{col 14}{res}{space 2} .3655374{col 26}{space 2} .2188461{col 37}{space 1}    1.67{col 46}{space 3}0.099{col 54}{space 4}-.0698172{col 67}{space 3}  .800892
{txt}{space 12} {c |}
{space 6}logdur {c |}
{space 9}L1. {c |}{col 14}{res}{space 2} .0916774{col 26}{space 2} .0383288{col 37}{space 1}    2.39{col 46}{space 3}0.019{col 54}{space 4} .0154292{col 67}{space 3} .1679256
{txt}{space 12} {c |}
{space 3}in_pctgdp {c |}
{space 9}L2. {c |}{col 14}{res}{space 2}-.0003706{col 26}{space 2} .0034489{col 37}{space 1}   -0.11{col 46}{space 3}0.915{col 54}{space 4}-.0072315{col 67}{space 3} .0064904
{txt}{space 12} {c |}
{space 9}tax {c |}
{space 9}L2. {c |}{col 14}{res}{space 2}  .004732{col 26}{space 2} .0070564{col 37}{space 1}    0.67{col 46}{space 3}0.504{col 54}{space 4}-.0093053{col 67}{space 3} .0187694
{txt}{space 12} {c |}
{space 8}year {c |}
{space 7}1993  {c |}{col 14}{res}{space 2} .0866388{col 26}{space 2}  .050058{col 37}{space 1}    1.73{col 46}{space 3}0.087{col 54}{space 4}-.0129425{col 67}{space 3}   .18622
{txt}{space 7}1994  {c |}{col 14}{res}{space 2} .0635544{col 26}{space 2} .0705846{col 37}{space 1}    0.90{col 46}{space 3}0.371{col 54}{space 4}-.0768609{col 67}{space 3} .2039697
{txt}{space 7}1995  {c |}{col 14}{res}{space 2} .0763768{col 26}{space 2} .0677174{col 37}{space 1}    1.13{col 46}{space 3}0.263{col 54}{space 4}-.0583348{col 67}{space 3} .2110883
{txt}{space 7}1996  {c |}{col 14}{res}{space 2} .0927543{col 26}{space 2}  .074994{col 37}{space 1}    1.24{col 46}{space 3}0.220{col 54}{space 4}-.0564327{col 67}{space 3} .2419413
{txt}{space 7}1997  {c |}{col 14}{res}{space 2} .0592702{col 26}{space 2} .0731623{col 37}{space 1}    0.81{col 46}{space 3}0.420{col 54}{space 4} -.086273{col 67}{space 3} .2048134
{txt}{space 7}1998  {c |}{col 14}{res}{space 2} .0381476{col 26}{space 2} .0771044{col 37}{space 1}    0.49{col 46}{space 3}0.622{col 54}{space 4}-.1152377{col 67}{space 3} .1915328
{txt}{space 7}1999  {c |}{col 14}{res}{space 2}  .005904{col 26}{space 2} .1087096{col 37}{space 1}    0.05{col 46}{space 3}0.957{col 54}{space 4}-.2103541{col 67}{space 3} .2221621
{txt}{space 7}2000  {c |}{col 14}{res}{space 2} .0524913{col 26}{space 2} .0927076{col 37}{space 1}    0.57{col 46}{space 3}0.573{col 54}{space 4}-.1319336{col 67}{space 3} .2369162
{txt}{space 7}2001  {c |}{col 14}{res}{space 2} .0553037{col 26}{space 2} .0960863{col 37}{space 1}    0.58{col 46}{space 3}0.566{col 54}{space 4}-.1358425{col 67}{space 3} .2464499
{txt}{space 7}2002  {c |}{col 14}{res}{space 2} -.002778{col 26}{space 2} .0895339{col 37}{space 1}   -0.03{col 46}{space 3}0.975{col 54}{space 4}-.1808895{col 67}{space 3} .1753334
{txt}{space 7}2003  {c |}{col 14}{res}{space 2}  .054405{col 26}{space 2} .1016643{col 37}{space 1}    0.54{col 46}{space 3}0.594{col 54}{space 4}-.1478376{col 67}{space 3} .2566476
{txt}{space 7}2004  {c |}{col 14}{res}{space 2} .0165589{col 26}{space 2} .0920365{col 37}{space 1}    0.18{col 46}{space 3}0.858{col 54}{space 4}-.1665309{col 67}{space 3} .1996488
{txt}{space 7}2005  {c |}{col 14}{res}{space 2}  .069014{col 26}{space 2} .1049598{col 37}{space 1}    0.66{col 46}{space 3}0.513{col 54}{space 4}-.1397844{col 67}{space 3} .2778124
{txt}{space 7}2006  {c |}{col 14}{res}{space 2} .0292076{col 26}{space 2} .1269501{col 37}{space 1}    0.23{col 46}{space 3}0.819{col 54}{space 4}-.2233366{col 67}{space 3} .2817519
{txt}{space 7}2007  {c |}{col 14}{res}{space 2} .0647375{col 26}{space 2} .1351628{col 37}{space 1}    0.48{col 46}{space 3}0.633{col 54}{space 4}-.2041444{col 67}{space 3} .3336195
{txt}{space 7}2008  {c |}{col 14}{res}{space 2} .0741608{col 26}{space 2} .1511297{col 37}{space 1}    0.49{col 46}{space 3}0.625{col 54}{space 4}-.2264844{col 67}{space 3}  .374806
{txt}{space 7}2009  {c |}{col 14}{res}{space 2} .0712779{col 26}{space 2} .1686263{col 37}{space 1}    0.42{col 46}{space 3}0.674{col 54}{space 4}-.2641736{col 67}{space 3} .4067294
{txt}{space 7}2010  {c |}{col 14}{res}{space 2} .1003215{col 26}{space 2} .1761879{col 37}{space 1}    0.57{col 46}{space 3}0.571{col 54}{space 4}-.2501723{col 67}{space 3} .4508153
{txt}{space 12} {c |}
{space 7}_cons {c |}{col 14}{res}{space 2} 2.094625{col 26}{space 2} 2.790642{col 37}{space 1}    0.75{col 46}{space 3}0.455{col 54}{space 4}-3.456851{col 67}{space 3} 7.646101
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} .60870586
     {txt}sigma_e {c |} {res} .27829424
         {txt}rho {c |} {res} .82711432{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}

{com}. margins, at(l.logdur=(1.609,2.890)) atmeans level(90) contrast(at effects) post
{res}
{txt}Contrasts of adjusted predictions
Model VCE{col 14}: {res}Robust

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Linear prediction, predict()}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:1._at}:{space 1}{res:{txt:L2.oil_new}{space 6}{txt:=} {space 3}3.300221 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L2.lincome~w}{space 4}{txt:=} {space 4}8.40582 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.popmad_adj}{space 4}{txt:=} {space 3}48.41121 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.gwf_firs~r}{space 4}{txt:=} {space 4}.436019 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.logdur}{space 8}{txt:=} {space 6}1.609}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L2.in_pctgdp}{space 4}{txt:=} {space 3}3.793804 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L2.tax}{space 10}{txt:=} {space 3}13.90792 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1992.year}{space 7}{txt:=} {space 3}.0438389 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1993.year}{space 7}{txt:=} {space 3}.0473934 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1994.year}{space 7}{txt:=} {space 4}.042654 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1995.year}{space 7}{txt:=} {space 3}.0402844 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1996.year}{space 7}{txt:=} {space 4}.042654 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1997.year}{space 7}{txt:=} {space 3}.0473934 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1998.year}{space 7}{txt:=} {space 3}.0509479 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1999.year}{space 7}{txt:=} {space 3}.0545024 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2000.year}{space 7}{txt:=} {space 3}.0533175 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2001.year}{space 7}{txt:=} {space 3}.0509479 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2002.year}{space 7}{txt:=} {space 3}.0592417 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2003.year}{space 7}{txt:=} {space 3}.0604265 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2004.year}{space 7}{txt:=} {space 3}.0592417 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2005.year}{space 7}{txt:=} {space 3}.0592417 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2006.year}{space 7}{txt:=} {space 3}.0580569 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2007.year}{space 7}{txt:=} {space 4}.056872 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2008.year}{space 7}{txt:=} {space 3}.0592417 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2009.year}{space 7}{txt:=} {space 4}.056872 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2010.year}{space 7}{txt:=} {space 4}.056872 {txt:(mean)}}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:2._at}:{space 1}{res:{txt:L2.oil_new}{space 6}{txt:=} {space 3}3.300221 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L2.lincome~w}{space 4}{txt:=} {space 4}8.40582 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.popmad_adj}{space 4}{txt:=} {space 3}48.41121 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.gwf_firs~r}{space 4}{txt:=} {space 4}.436019 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.logdur}{space 8}{txt:=} {space 7}2.89}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L2.in_pctgdp}{space 4}{txt:=} {space 3}3.793804 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L2.tax}{space 10}{txt:=} {space 3}13.90792 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1992.year}{space 7}{txt:=} {space 3}.0438389 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1993.year}{space 7}{txt:=} {space 3}.0473934 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1994.year}{space 7}{txt:=} {space 4}.042654 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1995.year}{space 7}{txt:=} {space 3}.0402844 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1996.year}{space 7}{txt:=} {space 4}.042654 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1997.year}{space 7}{txt:=} {space 3}.0473934 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1998.year}{space 7}{txt:=} {space 3}.0509479 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1999.year}{space 7}{txt:=} {space 3}.0545024 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2000.year}{space 7}{txt:=} {space 3}.0533175 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2001.year}{space 7}{txt:=} {space 3}.0509479 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2002.year}{space 7}{txt:=} {space 3}.0592417 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2003.year}{space 7}{txt:=} {space 3}.0604265 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2004.year}{space 7}{txt:=} {space 3}.0592417 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2005.year}{space 7}{txt:=} {space 3}.0592417 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2006.year}{space 7}{txt:=} {space 3}.0580569 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2007.year}{space 7}{txt:=} {space 4}.056872 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2008.year}{space 7}{txt:=} {space 3}.0592417 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2009.year}{space 7}{txt:=} {space 4}.056872 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2010.year}{space 7}{txt:=} {space 4}.056872 {txt:(mean)}}{p_end}
{p2colreset}{...}

{col 1}{text}{hline 13}{c TT}{hline 11}{hline 12}{hline 11}
{col 14}{text}{c |}         df{col 26}        chi2{col 38}     P>chi2
{col 1}{text}{hline 13}{c +}{hline 11}{hline 12}{hline 11}
{space 9}_at {col 14}{text}{c |}{result}{space 2}        1{col 26}{space 3}     5.72{col 38}{space 2}   0.0168
{col 1}{text}{hline 13}{c BT}{hline 11}{hline 12}{hline 11}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}   Contrast{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [90% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}_at {c |}
(2 vs base)  {c |}{col 14}{res}{space 2} .1174388{col 26}{space 2} .0490992{col 37}{space 1}    2.39{col 46}{space 3}0.017{col 54}{space 4} .0366778{col 67}{space 3} .1981998
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. estimates store margins_5
{txt}
{com}. 
. xtreg pers_2pl l2.oil_new l2.lincome_new l.popmad_adj l.gwf_firstldr l.logdur l2.in_pctgdp l2.tax i.year if year>1991, fe robust
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       844
{txt}Group variable: {res}gwf_caseid{txt}{col 49}Number of groups{col 67}={col 69}{res}        83

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.1649{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.3249{col 63}{txt}avg{col 67}={col 69}{res}      10.2
{txt}     overall = {res}0.3250{col 63}{txt}max{col 67}={col 69}{res}        19

{txt}{col 49}F({res}25{txt},{res}82{txt}){col 67}={col 70}{res}    17.09
{txt}corr(u_i, Xb){col 16}= {res}-0.0398{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 78:(Std. Err. adjusted for {res:83} clusters in gwf_caseid)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}    pers_2pl{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}oil_new {c |}
{space 9}L2. {c |}{col 14}{res}{space 2} .0693086{col 26}{space 2} .0266759{col 37}{space 1}    2.60{col 46}{space 3}0.011{col 54}{space 4} .0162418{col 67}{space 3} .1223754
{txt}{space 12} {c |}
{space 1}lincome_new {c |}
{space 9}L2. {c |}{col 14}{res}{space 2}-.3129442{col 26}{space 2} .3574862{col 37}{space 1}   -0.88{col 46}{space 3}0.384{col 54}{space 4}-1.024098{col 67}{space 3} .3982099
{txt}{space 12} {c |}
{space 2}popmad_adj {c |}
{space 9}L1. {c |}{col 14}{res}{space 2}-.0014607{col 26}{space 2} .0025624{col 37}{space 1}   -0.57{col 46}{space 3}0.570{col 54}{space 4}-.0065582{col 67}{space 3} .0036368
{txt}{space 12} {c |}
gwf_firstldr {c |}
{space 9}L1. {c |}{col 14}{res}{space 2} .3655374{col 26}{space 2} .2188461{col 37}{space 1}    1.67{col 46}{space 3}0.099{col 54}{space 4}-.0698172{col 67}{space 3}  .800892
{txt}{space 12} {c |}
{space 6}logdur {c |}
{space 9}L1. {c |}{col 14}{res}{space 2} .0916774{col 26}{space 2} .0383288{col 37}{space 1}    2.39{col 46}{space 3}0.019{col 54}{space 4} .0154292{col 67}{space 3} .1679256
{txt}{space 12} {c |}
{space 3}in_pctgdp {c |}
{space 9}L2. {c |}{col 14}{res}{space 2}-.0003706{col 26}{space 2} .0034489{col 37}{space 1}   -0.11{col 46}{space 3}0.915{col 54}{space 4}-.0072315{col 67}{space 3} .0064904
{txt}{space 12} {c |}
{space 9}tax {c |}
{space 9}L2. {c |}{col 14}{res}{space 2}  .004732{col 26}{space 2} .0070564{col 37}{space 1}    0.67{col 46}{space 3}0.504{col 54}{space 4}-.0093053{col 67}{space 3} .0187694
{txt}{space 12} {c |}
{space 8}year {c |}
{space 7}1993  {c |}{col 14}{res}{space 2} .0866388{col 26}{space 2}  .050058{col 37}{space 1}    1.73{col 46}{space 3}0.087{col 54}{space 4}-.0129425{col 67}{space 3}   .18622
{txt}{space 7}1994  {c |}{col 14}{res}{space 2} .0635544{col 26}{space 2} .0705846{col 37}{space 1}    0.90{col 46}{space 3}0.371{col 54}{space 4}-.0768609{col 67}{space 3} .2039697
{txt}{space 7}1995  {c |}{col 14}{res}{space 2} .0763768{col 26}{space 2} .0677174{col 37}{space 1}    1.13{col 46}{space 3}0.263{col 54}{space 4}-.0583348{col 67}{space 3} .2110883
{txt}{space 7}1996  {c |}{col 14}{res}{space 2} .0927543{col 26}{space 2}  .074994{col 37}{space 1}    1.24{col 46}{space 3}0.220{col 54}{space 4}-.0564327{col 67}{space 3} .2419413
{txt}{space 7}1997  {c |}{col 14}{res}{space 2} .0592702{col 26}{space 2} .0731623{col 37}{space 1}    0.81{col 46}{space 3}0.420{col 54}{space 4} -.086273{col 67}{space 3} .2048134
{txt}{space 7}1998  {c |}{col 14}{res}{space 2} .0381476{col 26}{space 2} .0771044{col 37}{space 1}    0.49{col 46}{space 3}0.622{col 54}{space 4}-.1152377{col 67}{space 3} .1915328
{txt}{space 7}1999  {c |}{col 14}{res}{space 2}  .005904{col 26}{space 2} .1087096{col 37}{space 1}    0.05{col 46}{space 3}0.957{col 54}{space 4}-.2103541{col 67}{space 3} .2221621
{txt}{space 7}2000  {c |}{col 14}{res}{space 2} .0524913{col 26}{space 2} .0927076{col 37}{space 1}    0.57{col 46}{space 3}0.573{col 54}{space 4}-.1319336{col 67}{space 3} .2369162
{txt}{space 7}2001  {c |}{col 14}{res}{space 2} .0553037{col 26}{space 2} .0960863{col 37}{space 1}    0.58{col 46}{space 3}0.566{col 54}{space 4}-.1358425{col 67}{space 3} .2464499
{txt}{space 7}2002  {c |}{col 14}{res}{space 2} -.002778{col 26}{space 2} .0895339{col 37}{space 1}   -0.03{col 46}{space 3}0.975{col 54}{space 4}-.1808895{col 67}{space 3} .1753334
{txt}{space 7}2003  {c |}{col 14}{res}{space 2}  .054405{col 26}{space 2} .1016643{col 37}{space 1}    0.54{col 46}{space 3}0.594{col 54}{space 4}-.1478376{col 67}{space 3} .2566476
{txt}{space 7}2004  {c |}{col 14}{res}{space 2} .0165589{col 26}{space 2} .0920365{col 37}{space 1}    0.18{col 46}{space 3}0.858{col 54}{space 4}-.1665309{col 67}{space 3} .1996488
{txt}{space 7}2005  {c |}{col 14}{res}{space 2}  .069014{col 26}{space 2} .1049598{col 37}{space 1}    0.66{col 46}{space 3}0.513{col 54}{space 4}-.1397844{col 67}{space 3} .2778124
{txt}{space 7}2006  {c |}{col 14}{res}{space 2} .0292076{col 26}{space 2} .1269501{col 37}{space 1}    0.23{col 46}{space 3}0.819{col 54}{space 4}-.2233366{col 67}{space 3} .2817519
{txt}{space 7}2007  {c |}{col 14}{res}{space 2} .0647375{col 26}{space 2} .1351628{col 37}{space 1}    0.48{col 46}{space 3}0.633{col 54}{space 4}-.2041444{col 67}{space 3} .3336195
{txt}{space 7}2008  {c |}{col 14}{res}{space 2} .0741608{col 26}{space 2} .1511297{col 37}{space 1}    0.49{col 46}{space 3}0.625{col 54}{space 4}-.2264844{col 67}{space 3}  .374806
{txt}{space 7}2009  {c |}{col 14}{res}{space 2} .0712779{col 26}{space 2} .1686263{col 37}{space 1}    0.42{col 46}{space 3}0.674{col 54}{space 4}-.2641736{col 67}{space 3} .4067294
{txt}{space 7}2010  {c |}{col 14}{res}{space 2} .1003215{col 26}{space 2} .1761879{col 37}{space 1}    0.57{col 46}{space 3}0.571{col 54}{space 4}-.2501723{col 67}{space 3} .4508153
{txt}{space 12} {c |}
{space 7}_cons {c |}{col 14}{res}{space 2} 2.094625{col 26}{space 2} 2.790642{col 37}{space 1}    0.75{col 46}{space 3}0.455{col 54}{space 4}-3.456851{col 67}{space 3} 7.646101
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} .60870586
     {txt}sigma_e {c |} {res} .27829424
         {txt}rho {c |} {res} .82711432{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}

{com}. margins, at(l.gwf_firstldr=(0,1)) atmeans level(90) contrast(at effects) post
{res}
{txt}Contrasts of adjusted predictions
Model VCE{col 14}: {res}Robust

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Linear prediction, predict()}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:1._at}:{space 1}{res:{txt:L2.oil_new}{space 6}{txt:=} {space 3}3.300221 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L2.lincome~w}{space 4}{txt:=} {space 4}8.40582 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.popmad_adj}{space 4}{txt:=} {space 3}48.41121 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.gwf_firs~r}{space 4}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.logdur}{space 8}{txt:=} {space 3}2.178983 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L2.in_pctgdp}{space 4}{txt:=} {space 3}3.793804 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L2.tax}{space 10}{txt:=} {space 3}13.90792 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1992.year}{space 7}{txt:=} {space 3}.0438389 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1993.year}{space 7}{txt:=} {space 3}.0473934 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1994.year}{space 7}{txt:=} {space 4}.042654 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1995.year}{space 7}{txt:=} {space 3}.0402844 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1996.year}{space 7}{txt:=} {space 4}.042654 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1997.year}{space 7}{txt:=} {space 3}.0473934 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1998.year}{space 7}{txt:=} {space 3}.0509479 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1999.year}{space 7}{txt:=} {space 3}.0545024 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2000.year}{space 7}{txt:=} {space 3}.0533175 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2001.year}{space 7}{txt:=} {space 3}.0509479 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2002.year}{space 7}{txt:=} {space 3}.0592417 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2003.year}{space 7}{txt:=} {space 3}.0604265 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2004.year}{space 7}{txt:=} {space 3}.0592417 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2005.year}{space 7}{txt:=} {space 3}.0592417 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2006.year}{space 7}{txt:=} {space 3}.0580569 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2007.year}{space 7}{txt:=} {space 4}.056872 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2008.year}{space 7}{txt:=} {space 3}.0592417 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2009.year}{space 7}{txt:=} {space 4}.056872 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2010.year}{space 7}{txt:=} {space 4}.056872 {txt:(mean)}}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:2._at}:{space 1}{res:{txt:L2.oil_new}{space 6}{txt:=} {space 3}3.300221 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L2.lincome~w}{space 4}{txt:=} {space 4}8.40582 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.popmad_adj}{space 4}{txt:=} {space 3}48.41121 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.gwf_firs~r}{space 4}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.logdur}{space 8}{txt:=} {space 3}2.178983 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L2.in_pctgdp}{space 4}{txt:=} {space 3}3.793804 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L2.tax}{space 10}{txt:=} {space 3}13.90792 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1992.year}{space 7}{txt:=} {space 3}.0438389 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1993.year}{space 7}{txt:=} {space 3}.0473934 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1994.year}{space 7}{txt:=} {space 4}.042654 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1995.year}{space 7}{txt:=} {space 3}.0402844 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1996.year}{space 7}{txt:=} {space 4}.042654 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1997.year}{space 7}{txt:=} {space 3}.0473934 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1998.year}{space 7}{txt:=} {space 3}.0509479 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1999.year}{space 7}{txt:=} {space 3}.0545024 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2000.year}{space 7}{txt:=} {space 3}.0533175 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2001.year}{space 7}{txt:=} {space 3}.0509479 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2002.year}{space 7}{txt:=} {space 3}.0592417 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2003.year}{space 7}{txt:=} {space 3}.0604265 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2004.year}{space 7}{txt:=} {space 3}.0592417 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2005.year}{space 7}{txt:=} {space 3}.0592417 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2006.year}{space 7}{txt:=} {space 3}.0580569 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2007.year}{space 7}{txt:=} {space 4}.056872 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2008.year}{space 7}{txt:=} {space 3}.0592417 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2009.year}{space 7}{txt:=} {space 4}.056872 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2010.year}{space 7}{txt:=} {space 4}.056872 {txt:(mean)}}{p_end}
{p2colreset}{...}

{col 1}{text}{hline 13}{c TT}{hline 11}{hline 12}{hline 11}
{col 14}{text}{c |}         df{col 26}        chi2{col 38}     P>chi2
{col 1}{text}{hline 13}{c +}{hline 11}{hline 12}{hline 11}
{space 9}_at {col 14}{text}{c |}{result}{space 2}        1{col 26}{space 3}     2.79{col 38}{space 2}   0.0949
{col 1}{text}{hline 13}{c BT}{hline 11}{hline 12}{hline 11}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}   Contrast{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [90% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}_at {c |}
(2 vs base)  {c |}{col 14}{res}{space 2} .3655374{col 26}{space 2} .2188461{col 37}{space 1}    1.67{col 46}{space 3}0.095{col 54}{space 4} .0055677{col 67}{space 3} .7255072
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. estimates store margins_6
{txt}
{com}. 
. *Model 4
. xtreg pers_2pl l2.oil_new l2.lincome_new l.popmad_adj l.gwf_firstldr l.logdur l2.in_pctgdp l2.tax i.year if year>1991 & oil_new<8.347798, fe robust
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       760
{txt}Group variable: {res}gwf_caseid{txt}{col 49}Number of groups{col 67}={col 69}{res}        81

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.1909{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.3720{col 63}{txt}avg{col 67}={col 69}{res}       9.4
{txt}     overall = {res}0.3547{col 63}{txt}max{col 67}={col 69}{res}        19

{txt}{col 49}F({res}25{txt},{res}80{txt}){col 67}={col 70}{res}    16.70
{txt}corr(u_i, Xb){col 16}= {res}-0.0316{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 78:(Std. Err. adjusted for {res:81} clusters in gwf_caseid)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}    pers_2pl{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}oil_new {c |}
{space 9}L2. {c |}{col 14}{res}{space 2} .0711386{col 26}{space 2} .0275389{col 37}{space 1}    2.58{col 46}{space 3}0.012{col 54}{space 4} .0163344{col 67}{space 3} .1259429
{txt}{space 12} {c |}
{space 1}lincome_new {c |}
{space 9}L2. {c |}{col 14}{res}{space 2}-.2529314{col 26}{space 2} .3955894{col 37}{space 1}   -0.64{col 46}{space 3}0.524{col 54}{space 4}-1.040179{col 67}{space 3} .5343167
{txt}{space 12} {c |}
{space 2}popmad_adj {c |}
{space 9}L1. {c |}{col 14}{res}{space 2}-.0016414{col 26}{space 2} .0026398{col 37}{space 1}   -0.62{col 46}{space 3}0.536{col 54}{space 4}-.0068947{col 67}{space 3} .0036119
{txt}{space 12} {c |}
gwf_firstldr {c |}
{space 9}L1. {c |}{col 14}{res}{space 2} .4231833{col 26}{space 2} .2198957{col 37}{space 1}    1.92{col 46}{space 3}0.058{col 54}{space 4}-.0144231{col 67}{space 3} .8607897
{txt}{space 12} {c |}
{space 6}logdur {c |}
{space 9}L1. {c |}{col 14}{res}{space 2} .1161813{col 26}{space 2} .0418152{col 37}{space 1}    2.78{col 46}{space 3}0.007{col 54}{space 4} .0329665{col 67}{space 3} .1993962
{txt}{space 12} {c |}
{space 3}in_pctgdp {c |}
{space 9}L2. {c |}{col 14}{res}{space 2}-.0013726{col 26}{space 2} .0034941{col 37}{space 1}   -0.39{col 46}{space 3}0.695{col 54}{space 4}-.0083261{col 67}{space 3} .0055808
{txt}{space 12} {c |}
{space 9}tax {c |}
{space 9}L2. {c |}{col 14}{res}{space 2} .0043255{col 26}{space 2} .0077421{col 37}{space 1}    0.56{col 46}{space 3}0.578{col 54}{space 4}-.0110819{col 67}{space 3} .0197328
{txt}{space 12} {c |}
{space 8}year {c |}
{space 7}1993  {c |}{col 14}{res}{space 2} .0965603{col 26}{space 2} .0538226{col 37}{space 1}    1.79{col 46}{space 3}0.077{col 54}{space 4}  -.01055{col 67}{space 3} .2036706
{txt}{space 7}1994  {c |}{col 14}{res}{space 2} .0694321{col 26}{space 2} .0757247{col 37}{space 1}    0.92{col 46}{space 3}0.362{col 54}{space 4}-.0812649{col 67}{space 3} .2201291
{txt}{space 7}1995  {c |}{col 14}{res}{space 2} .0815343{col 26}{space 2} .0726981{col 37}{space 1}    1.12{col 46}{space 3}0.265{col 54}{space 4}-.0631395{col 67}{space 3} .2262081
{txt}{space 7}1996  {c |}{col 14}{res}{space 2} .0993243{col 26}{space 2} .0803117{col 37}{space 1}    1.24{col 46}{space 3}0.220{col 54}{space 4}-.0605011{col 67}{space 3} .2591497
{txt}{space 7}1997  {c |}{col 14}{res}{space 2} .0569978{col 26}{space 2} .0778548{col 37}{space 1}    0.73{col 46}{space 3}0.466{col 54}{space 4}-.0979381{col 67}{space 3} .2119337
{txt}{space 7}1998  {c |}{col 14}{res}{space 2} .0308055{col 26}{space 2} .0823533{col 37}{space 1}    0.37{col 46}{space 3}0.709{col 54}{space 4}-.1330828{col 67}{space 3} .1946937
{txt}{space 7}1999  {c |}{col 14}{res}{space 2}-.0067521{col 26}{space 2} .1156728{col 37}{space 1}   -0.06{col 46}{space 3}0.954{col 54}{space 4}-.2369482{col 67}{space 3} .2234441
{txt}{space 7}2000  {c |}{col 14}{res}{space 2} .0360049{col 26}{space 2} .0991533{col 37}{space 1}    0.36{col 46}{space 3}0.717{col 54}{space 4}-.1613164{col 67}{space 3} .2333263
{txt}{space 7}2001  {c |}{col 14}{res}{space 2} .0482986{col 26}{space 2} .1040229{col 37}{space 1}    0.46{col 46}{space 3}0.644{col 54}{space 4}-.1587136{col 67}{space 3} .2553109
{txt}{space 7}2002  {c |}{col 14}{res}{space 2}-.0183069{col 26}{space 2} .0992014{col 37}{space 1}   -0.18{col 46}{space 3}0.854{col 54}{space 4}-.2157239{col 67}{space 3} .1791102
{txt}{space 7}2003  {c |}{col 14}{res}{space 2}  .045758{col 26}{space 2} .1141852{col 37}{space 1}    0.40{col 46}{space 3}0.690{col 54}{space 4}-.1814778{col 67}{space 3} .2729939
{txt}{space 7}2004  {c |}{col 14}{res}{space 2} .0080158{col 26}{space 2} .1078413{col 37}{space 1}    0.07{col 46}{space 3}0.941{col 54}{space 4}-.2065952{col 67}{space 3} .2226268
{txt}{space 7}2005  {c |}{col 14}{res}{space 2} .0690997{col 26}{space 2} .1272167{col 37}{space 1}    0.54{col 46}{space 3}0.589{col 54}{space 4}-.1840696{col 67}{space 3}  .322269
{txt}{space 7}2006  {c |}{col 14}{res}{space 2} .0038343{col 26}{space 2} .1516498{col 37}{space 1}    0.03{col 46}{space 3}0.980{col 54}{space 4}-.2979585{col 67}{space 3} .3056271
{txt}{space 7}2007  {c |}{col 14}{res}{space 2}  .044533{col 26}{space 2} .1609437{col 37}{space 1}    0.28{col 46}{space 3}0.783{col 54}{space 4} -.275755{col 67}{space 3} .3648211
{txt}{space 7}2008  {c |}{col 14}{res}{space 2} .0433962{col 26}{space 2} .1886337{col 37}{space 1}    0.23{col 46}{space 3}0.819{col 54}{space 4}-.3319969{col 67}{space 3} .4187893
{txt}{space 7}2009  {c |}{col 14}{res}{space 2} .0423452{col 26}{space 2} .2034858{col 37}{space 1}    0.21{col 46}{space 3}0.836{col 54}{space 4}-.3626046{col 67}{space 3} .4472949
{txt}{space 7}2010  {c |}{col 14}{res}{space 2} .0812097{col 26}{space 2} .2140981{col 37}{space 1}    0.38{col 46}{space 3}0.705{col 54}{space 4}-.3448591{col 67}{space 3} .5072786
{txt}{space 12} {c |}
{space 7}_cons {c |}{col 14}{res}{space 2} 1.516182{col 26}{space 2} 2.983415{col 37}{space 1}    0.51{col 46}{space 3}0.613{col 54}{space 4}-4.421004{col 67}{space 3} 7.453367
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} .59491306
     {txt}sigma_e {c |} {res} .28789623
         {txt}rho {c |} {res} .81024922{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}

{com}. centile oil_new logdur gwf_firstldr if e(sample), centile(25 75)

{txt}{col 56}{hline 2} Binom. Interp. {hline 2}
    Variable {c |}       Obs  Percentile    Centile        [95% Conf. Interval]
{hline 13}{c +}{hline 61}
     oil_new {c |}{col 14}{res}       760{col 29}     25{col 39}        0{col 55}        0{col 67}        0{txt}
             {c |}{res}{col 29}     75{col 39} 5.546073{col 55} 4.948095{col 67} 5.887354{txt}
      logdur {c |}{col 14}{res}       760{col 29}     25{col 39} 1.609438{col 55} 1.386294{col 67} 1.609438{txt}
             {c |}{res}{col 29}     75{col 39} 2.833213{col 55} 2.772589{col 67} 2.890372{txt}
gwf_firstldr {c |}{col 14}{res}       760{col 29}     25{col 39}        0{col 55}        0{col 67}        0{txt}
             {c |}{res}{col 29}     75{col 39}        1{col 55}        1{col 67}        1{txt}

{com}. 
. margins, at(l2.oil_new=(0,5.546)) atmeans level(90) contrast(at effects) post
{res}
{txt}Contrasts of adjusted predictions
Model VCE{col 14}: {res}Robust

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Linear prediction, predict()}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:1._at}:{space 1}{res:{txt:L2.oil_new}{space 6}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L2.lincome~w}{space 4}{txt:=} {space 3}8.157192 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.popmad_adj}{space 4}{txt:=} {space 3}52.93633 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.gwf_firs~r}{space 4}{txt:=} {space 8}.45 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.logdur}{space 8}{txt:=} {space 3}2.114955 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L2.in_pctgdp}{space 4}{txt:=} {space 3}3.940012 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L2.tax}{space 10}{txt:=} {space 3}14.63909 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1992.year}{space 7}{txt:=} {space 3}.0460526 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1993.year}{space 7}{txt:=} {space 8}.05 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1994.year}{space 7}{txt:=} {space 3}.0447368 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1995.year}{space 7}{txt:=} {space 3}.0421053 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1996.year}{space 7}{txt:=} {space 3}.0434211 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1997.year}{space 7}{txt:=} {space 3}.0473684 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1998.year}{space 7}{txt:=} {space 3}.0539474 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1999.year}{space 7}{txt:=} {space 3}.0578947 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2000.year}{space 7}{txt:=} {space 3}.0539474 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2001.year}{space 7}{txt:=} {space 3}.0513158 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2002.year}{space 7}{txt:=} {space 3}.0605263 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2003.year}{space 7}{txt:=} {space 3}.0618421 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2004.year}{space 7}{txt:=} {space 3}.0578947 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2005.year}{space 7}{txt:=} {space 3}.0565789 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2006.year}{space 7}{txt:=} {space 3}.0552632 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2007.year}{space 7}{txt:=} {space 3}.0539474 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2008.year}{space 7}{txt:=} {space 3}.0526316 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2009.year}{space 7}{txt:=} {space 3}.0552632 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2010.year}{space 7}{txt:=} {space 3}.0552632 {txt:(mean)}}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:2._at}:{space 1}{res:{txt:L2.oil_new}{space 6}{txt:=} {space 6}5.546}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L2.lincome~w}{space 4}{txt:=} {space 3}8.157192 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.popmad_adj}{space 4}{txt:=} {space 3}52.93633 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.gwf_firs~r}{space 4}{txt:=} {space 8}.45 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.logdur}{space 8}{txt:=} {space 3}2.114955 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L2.in_pctgdp}{space 4}{txt:=} {space 3}3.940012 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L2.tax}{space 10}{txt:=} {space 3}14.63909 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1992.year}{space 7}{txt:=} {space 3}.0460526 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1993.year}{space 7}{txt:=} {space 8}.05 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1994.year}{space 7}{txt:=} {space 3}.0447368 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1995.year}{space 7}{txt:=} {space 3}.0421053 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1996.year}{space 7}{txt:=} {space 3}.0434211 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1997.year}{space 7}{txt:=} {space 3}.0473684 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1998.year}{space 7}{txt:=} {space 3}.0539474 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1999.year}{space 7}{txt:=} {space 3}.0578947 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2000.year}{space 7}{txt:=} {space 3}.0539474 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2001.year}{space 7}{txt:=} {space 3}.0513158 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2002.year}{space 7}{txt:=} {space 3}.0605263 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2003.year}{space 7}{txt:=} {space 3}.0618421 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2004.year}{space 7}{txt:=} {space 3}.0578947 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2005.year}{space 7}{txt:=} {space 3}.0565789 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2006.year}{space 7}{txt:=} {space 3}.0552632 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2007.year}{space 7}{txt:=} {space 3}.0539474 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2008.year}{space 7}{txt:=} {space 3}.0526316 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2009.year}{space 7}{txt:=} {space 3}.0552632 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2010.year}{space 7}{txt:=} {space 3}.0552632 {txt:(mean)}}{p_end}
{p2colreset}{...}

{col 1}{text}{hline 13}{c TT}{hline 11}{hline 12}{hline 11}
{col 14}{text}{c |}         df{col 26}        chi2{col 38}     P>chi2
{col 1}{text}{hline 13}{c +}{hline 11}{hline 12}{hline 11}
{space 9}_at {col 14}{text}{c |}{result}{space 2}        1{col 26}{space 3}     6.67{col 38}{space 2}   0.0098
{col 1}{text}{hline 13}{c BT}{hline 11}{hline 12}{hline 11}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}   Contrast{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [90% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}_at {c |}
(2 vs base)  {c |}{col 14}{res}{space 2} .3945347{col 26}{space 2}  .152731{col 37}{space 1}    2.58{col 46}{space 3}0.010{col 54}{space 4} .1433146{col 67}{space 3} .6457549
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. estimates store margins_7
{txt}
{com}. 
. xtreg pers_2pl l2.oil_new l2.lincome_new l.popmad_adj l.gwf_firstldr l.logdur l2.in_pctgdp l2.tax i.year if year>1991 & oil_new<8.347798, fe robust
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       760
{txt}Group variable: {res}gwf_caseid{txt}{col 49}Number of groups{col 67}={col 69}{res}        81

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.1909{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.3720{col 63}{txt}avg{col 67}={col 69}{res}       9.4
{txt}     overall = {res}0.3547{col 63}{txt}max{col 67}={col 69}{res}        19

{txt}{col 49}F({res}25{txt},{res}80{txt}){col 67}={col 70}{res}    16.70
{txt}corr(u_i, Xb){col 16}= {res}-0.0316{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 78:(Std. Err. adjusted for {res:81} clusters in gwf_caseid)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}    pers_2pl{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}oil_new {c |}
{space 9}L2. {c |}{col 14}{res}{space 2} .0711386{col 26}{space 2} .0275389{col 37}{space 1}    2.58{col 46}{space 3}0.012{col 54}{space 4} .0163344{col 67}{space 3} .1259429
{txt}{space 12} {c |}
{space 1}lincome_new {c |}
{space 9}L2. {c |}{col 14}{res}{space 2}-.2529314{col 26}{space 2} .3955894{col 37}{space 1}   -0.64{col 46}{space 3}0.524{col 54}{space 4}-1.040179{col 67}{space 3} .5343167
{txt}{space 12} {c |}
{space 2}popmad_adj {c |}
{space 9}L1. {c |}{col 14}{res}{space 2}-.0016414{col 26}{space 2} .0026398{col 37}{space 1}   -0.62{col 46}{space 3}0.536{col 54}{space 4}-.0068947{col 67}{space 3} .0036119
{txt}{space 12} {c |}
gwf_firstldr {c |}
{space 9}L1. {c |}{col 14}{res}{space 2} .4231833{col 26}{space 2} .2198957{col 37}{space 1}    1.92{col 46}{space 3}0.058{col 54}{space 4}-.0144231{col 67}{space 3} .8607897
{txt}{space 12} {c |}
{space 6}logdur {c |}
{space 9}L1. {c |}{col 14}{res}{space 2} .1161813{col 26}{space 2} .0418152{col 37}{space 1}    2.78{col 46}{space 3}0.007{col 54}{space 4} .0329665{col 67}{space 3} .1993962
{txt}{space 12} {c |}
{space 3}in_pctgdp {c |}
{space 9}L2. {c |}{col 14}{res}{space 2}-.0013726{col 26}{space 2} .0034941{col 37}{space 1}   -0.39{col 46}{space 3}0.695{col 54}{space 4}-.0083261{col 67}{space 3} .0055808
{txt}{space 12} {c |}
{space 9}tax {c |}
{space 9}L2. {c |}{col 14}{res}{space 2} .0043255{col 26}{space 2} .0077421{col 37}{space 1}    0.56{col 46}{space 3}0.578{col 54}{space 4}-.0110819{col 67}{space 3} .0197328
{txt}{space 12} {c |}
{space 8}year {c |}
{space 7}1993  {c |}{col 14}{res}{space 2} .0965603{col 26}{space 2} .0538226{col 37}{space 1}    1.79{col 46}{space 3}0.077{col 54}{space 4}  -.01055{col 67}{space 3} .2036706
{txt}{space 7}1994  {c |}{col 14}{res}{space 2} .0694321{col 26}{space 2} .0757247{col 37}{space 1}    0.92{col 46}{space 3}0.362{col 54}{space 4}-.0812649{col 67}{space 3} .2201291
{txt}{space 7}1995  {c |}{col 14}{res}{space 2} .0815343{col 26}{space 2} .0726981{col 37}{space 1}    1.12{col 46}{space 3}0.265{col 54}{space 4}-.0631395{col 67}{space 3} .2262081
{txt}{space 7}1996  {c |}{col 14}{res}{space 2} .0993243{col 26}{space 2} .0803117{col 37}{space 1}    1.24{col 46}{space 3}0.220{col 54}{space 4}-.0605011{col 67}{space 3} .2591497
{txt}{space 7}1997  {c |}{col 14}{res}{space 2} .0569978{col 26}{space 2} .0778548{col 37}{space 1}    0.73{col 46}{space 3}0.466{col 54}{space 4}-.0979381{col 67}{space 3} .2119337
{txt}{space 7}1998  {c |}{col 14}{res}{space 2} .0308055{col 26}{space 2} .0823533{col 37}{space 1}    0.37{col 46}{space 3}0.709{col 54}{space 4}-.1330828{col 67}{space 3} .1946937
{txt}{space 7}1999  {c |}{col 14}{res}{space 2}-.0067521{col 26}{space 2} .1156728{col 37}{space 1}   -0.06{col 46}{space 3}0.954{col 54}{space 4}-.2369482{col 67}{space 3} .2234441
{txt}{space 7}2000  {c |}{col 14}{res}{space 2} .0360049{col 26}{space 2} .0991533{col 37}{space 1}    0.36{col 46}{space 3}0.717{col 54}{space 4}-.1613164{col 67}{space 3} .2333263
{txt}{space 7}2001  {c |}{col 14}{res}{space 2} .0482986{col 26}{space 2} .1040229{col 37}{space 1}    0.46{col 46}{space 3}0.644{col 54}{space 4}-.1587136{col 67}{space 3} .2553109
{txt}{space 7}2002  {c |}{col 14}{res}{space 2}-.0183069{col 26}{space 2} .0992014{col 37}{space 1}   -0.18{col 46}{space 3}0.854{col 54}{space 4}-.2157239{col 67}{space 3} .1791102
{txt}{space 7}2003  {c |}{col 14}{res}{space 2}  .045758{col 26}{space 2} .1141852{col 37}{space 1}    0.40{col 46}{space 3}0.690{col 54}{space 4}-.1814778{col 67}{space 3} .2729939
{txt}{space 7}2004  {c |}{col 14}{res}{space 2} .0080158{col 26}{space 2} .1078413{col 37}{space 1}    0.07{col 46}{space 3}0.941{col 54}{space 4}-.2065952{col 67}{space 3} .2226268
{txt}{space 7}2005  {c |}{col 14}{res}{space 2} .0690997{col 26}{space 2} .1272167{col 37}{space 1}    0.54{col 46}{space 3}0.589{col 54}{space 4}-.1840696{col 67}{space 3}  .322269
{txt}{space 7}2006  {c |}{col 14}{res}{space 2} .0038343{col 26}{space 2} .1516498{col 37}{space 1}    0.03{col 46}{space 3}0.980{col 54}{space 4}-.2979585{col 67}{space 3} .3056271
{txt}{space 7}2007  {c |}{col 14}{res}{space 2}  .044533{col 26}{space 2} .1609437{col 37}{space 1}    0.28{col 46}{space 3}0.783{col 54}{space 4} -.275755{col 67}{space 3} .3648211
{txt}{space 7}2008  {c |}{col 14}{res}{space 2} .0433962{col 26}{space 2} .1886337{col 37}{space 1}    0.23{col 46}{space 3}0.819{col 54}{space 4}-.3319969{col 67}{space 3} .4187893
{txt}{space 7}2009  {c |}{col 14}{res}{space 2} .0423452{col 26}{space 2} .2034858{col 37}{space 1}    0.21{col 46}{space 3}0.836{col 54}{space 4}-.3626046{col 67}{space 3} .4472949
{txt}{space 7}2010  {c |}{col 14}{res}{space 2} .0812097{col 26}{space 2} .2140981{col 37}{space 1}    0.38{col 46}{space 3}0.705{col 54}{space 4}-.3448591{col 67}{space 3} .5072786
{txt}{space 12} {c |}
{space 7}_cons {c |}{col 14}{res}{space 2} 1.516182{col 26}{space 2} 2.983415{col 37}{space 1}    0.51{col 46}{space 3}0.613{col 54}{space 4}-4.421004{col 67}{space 3} 7.453367
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} .59491306
     {txt}sigma_e {c |} {res} .28789623
         {txt}rho {c |} {res} .81024922{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}

{com}. margins, at(l.logdur=(1.609,2.833)) atmeans level(90) contrast(at effects) post
{res}
{txt}Contrasts of adjusted predictions
Model VCE{col 14}: {res}Robust

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Linear prediction, predict()}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:1._at}:{space 1}{res:{txt:L2.oil_new}{space 6}{txt:=} {space 3}2.667525 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L2.lincome~w}{space 4}{txt:=} {space 3}8.157192 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.popmad_adj}{space 4}{txt:=} {space 3}52.93633 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.gwf_firs~r}{space 4}{txt:=} {space 8}.45 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.logdur}{space 8}{txt:=} {space 6}1.609}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L2.in_pctgdp}{space 4}{txt:=} {space 3}3.940012 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L2.tax}{space 10}{txt:=} {space 3}14.63909 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1992.year}{space 7}{txt:=} {space 3}.0460526 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1993.year}{space 7}{txt:=} {space 8}.05 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1994.year}{space 7}{txt:=} {space 3}.0447368 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1995.year}{space 7}{txt:=} {space 3}.0421053 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1996.year}{space 7}{txt:=} {space 3}.0434211 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1997.year}{space 7}{txt:=} {space 3}.0473684 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1998.year}{space 7}{txt:=} {space 3}.0539474 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1999.year}{space 7}{txt:=} {space 3}.0578947 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2000.year}{space 7}{txt:=} {space 3}.0539474 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2001.year}{space 7}{txt:=} {space 3}.0513158 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2002.year}{space 7}{txt:=} {space 3}.0605263 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2003.year}{space 7}{txt:=} {space 3}.0618421 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2004.year}{space 7}{txt:=} {space 3}.0578947 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2005.year}{space 7}{txt:=} {space 3}.0565789 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2006.year}{space 7}{txt:=} {space 3}.0552632 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2007.year}{space 7}{txt:=} {space 3}.0539474 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2008.year}{space 7}{txt:=} {space 3}.0526316 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2009.year}{space 7}{txt:=} {space 3}.0552632 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2010.year}{space 7}{txt:=} {space 3}.0552632 {txt:(mean)}}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:2._at}:{space 1}{res:{txt:L2.oil_new}{space 6}{txt:=} {space 3}2.667525 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L2.lincome~w}{space 4}{txt:=} {space 3}8.157192 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.popmad_adj}{space 4}{txt:=} {space 3}52.93633 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.gwf_firs~r}{space 4}{txt:=} {space 8}.45 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.logdur}{space 8}{txt:=} {space 6}2.833}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L2.in_pctgdp}{space 4}{txt:=} {space 3}3.940012 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L2.tax}{space 10}{txt:=} {space 3}14.63909 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1992.year}{space 7}{txt:=} {space 3}.0460526 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1993.year}{space 7}{txt:=} {space 8}.05 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1994.year}{space 7}{txt:=} {space 3}.0447368 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1995.year}{space 7}{txt:=} {space 3}.0421053 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1996.year}{space 7}{txt:=} {space 3}.0434211 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1997.year}{space 7}{txt:=} {space 3}.0473684 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1998.year}{space 7}{txt:=} {space 3}.0539474 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1999.year}{space 7}{txt:=} {space 3}.0578947 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2000.year}{space 7}{txt:=} {space 3}.0539474 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2001.year}{space 7}{txt:=} {space 3}.0513158 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2002.year}{space 7}{txt:=} {space 3}.0605263 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2003.year}{space 7}{txt:=} {space 3}.0618421 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2004.year}{space 7}{txt:=} {space 3}.0578947 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2005.year}{space 7}{txt:=} {space 3}.0565789 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2006.year}{space 7}{txt:=} {space 3}.0552632 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2007.year}{space 7}{txt:=} {space 3}.0539474 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2008.year}{space 7}{txt:=} {space 3}.0526316 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2009.year}{space 7}{txt:=} {space 3}.0552632 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2010.year}{space 7}{txt:=} {space 3}.0552632 {txt:(mean)}}{p_end}
{p2colreset}{...}

{col 1}{text}{hline 13}{c TT}{hline 11}{hline 12}{hline 11}
{col 14}{text}{c |}         df{col 26}        chi2{col 38}     P>chi2
{col 1}{text}{hline 13}{c +}{hline 11}{hline 12}{hline 11}
{space 9}_at {col 14}{text}{c |}{result}{space 2}        1{col 26}{space 3}     7.72{col 38}{space 2}   0.0055
{col 1}{text}{hline 13}{c BT}{hline 11}{hline 12}{hline 11}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}   Contrast{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [90% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}_at {c |}
(2 vs base)  {c |}{col 14}{res}{space 2}  .142206{col 26}{space 2} .0511818{col 37}{space 1}    2.78{col 46}{space 3}0.005{col 54}{space 4} .0580194{col 67}{space 3} .2263925
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. estimates store margins_8
{txt}
{com}. 
. xtreg pers_2pl l2.oil_new l2.lincome_new l.popmad_adj l.gwf_firstldr l.logdur l2.in_pctgdp l2.tax i.year if year>1991 & oil_new<8.347798, fe robust
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       760
{txt}Group variable: {res}gwf_caseid{txt}{col 49}Number of groups{col 67}={col 69}{res}        81

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.1909{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.3720{col 63}{txt}avg{col 67}={col 69}{res}       9.4
{txt}     overall = {res}0.3547{col 63}{txt}max{col 67}={col 69}{res}        19

{txt}{col 49}F({res}25{txt},{res}80{txt}){col 67}={col 70}{res}    16.70
{txt}corr(u_i, Xb){col 16}= {res}-0.0316{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 78:(Std. Err. adjusted for {res:81} clusters in gwf_caseid)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}    pers_2pl{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}oil_new {c |}
{space 9}L2. {c |}{col 14}{res}{space 2} .0711386{col 26}{space 2} .0275389{col 37}{space 1}    2.58{col 46}{space 3}0.012{col 54}{space 4} .0163344{col 67}{space 3} .1259429
{txt}{space 12} {c |}
{space 1}lincome_new {c |}
{space 9}L2. {c |}{col 14}{res}{space 2}-.2529314{col 26}{space 2} .3955894{col 37}{space 1}   -0.64{col 46}{space 3}0.524{col 54}{space 4}-1.040179{col 67}{space 3} .5343167
{txt}{space 12} {c |}
{space 2}popmad_adj {c |}
{space 9}L1. {c |}{col 14}{res}{space 2}-.0016414{col 26}{space 2} .0026398{col 37}{space 1}   -0.62{col 46}{space 3}0.536{col 54}{space 4}-.0068947{col 67}{space 3} .0036119
{txt}{space 12} {c |}
gwf_firstldr {c |}
{space 9}L1. {c |}{col 14}{res}{space 2} .4231833{col 26}{space 2} .2198957{col 37}{space 1}    1.92{col 46}{space 3}0.058{col 54}{space 4}-.0144231{col 67}{space 3} .8607897
{txt}{space 12} {c |}
{space 6}logdur {c |}
{space 9}L1. {c |}{col 14}{res}{space 2} .1161813{col 26}{space 2} .0418152{col 37}{space 1}    2.78{col 46}{space 3}0.007{col 54}{space 4} .0329665{col 67}{space 3} .1993962
{txt}{space 12} {c |}
{space 3}in_pctgdp {c |}
{space 9}L2. {c |}{col 14}{res}{space 2}-.0013726{col 26}{space 2} .0034941{col 37}{space 1}   -0.39{col 46}{space 3}0.695{col 54}{space 4}-.0083261{col 67}{space 3} .0055808
{txt}{space 12} {c |}
{space 9}tax {c |}
{space 9}L2. {c |}{col 14}{res}{space 2} .0043255{col 26}{space 2} .0077421{col 37}{space 1}    0.56{col 46}{space 3}0.578{col 54}{space 4}-.0110819{col 67}{space 3} .0197328
{txt}{space 12} {c |}
{space 8}year {c |}
{space 7}1993  {c |}{col 14}{res}{space 2} .0965603{col 26}{space 2} .0538226{col 37}{space 1}    1.79{col 46}{space 3}0.077{col 54}{space 4}  -.01055{col 67}{space 3} .2036706
{txt}{space 7}1994  {c |}{col 14}{res}{space 2} .0694321{col 26}{space 2} .0757247{col 37}{space 1}    0.92{col 46}{space 3}0.362{col 54}{space 4}-.0812649{col 67}{space 3} .2201291
{txt}{space 7}1995  {c |}{col 14}{res}{space 2} .0815343{col 26}{space 2} .0726981{col 37}{space 1}    1.12{col 46}{space 3}0.265{col 54}{space 4}-.0631395{col 67}{space 3} .2262081
{txt}{space 7}1996  {c |}{col 14}{res}{space 2} .0993243{col 26}{space 2} .0803117{col 37}{space 1}    1.24{col 46}{space 3}0.220{col 54}{space 4}-.0605011{col 67}{space 3} .2591497
{txt}{space 7}1997  {c |}{col 14}{res}{space 2} .0569978{col 26}{space 2} .0778548{col 37}{space 1}    0.73{col 46}{space 3}0.466{col 54}{space 4}-.0979381{col 67}{space 3} .2119337
{txt}{space 7}1998  {c |}{col 14}{res}{space 2} .0308055{col 26}{space 2} .0823533{col 37}{space 1}    0.37{col 46}{space 3}0.709{col 54}{space 4}-.1330828{col 67}{space 3} .1946937
{txt}{space 7}1999  {c |}{col 14}{res}{space 2}-.0067521{col 26}{space 2} .1156728{col 37}{space 1}   -0.06{col 46}{space 3}0.954{col 54}{space 4}-.2369482{col 67}{space 3} .2234441
{txt}{space 7}2000  {c |}{col 14}{res}{space 2} .0360049{col 26}{space 2} .0991533{col 37}{space 1}    0.36{col 46}{space 3}0.717{col 54}{space 4}-.1613164{col 67}{space 3} .2333263
{txt}{space 7}2001  {c |}{col 14}{res}{space 2} .0482986{col 26}{space 2} .1040229{col 37}{space 1}    0.46{col 46}{space 3}0.644{col 54}{space 4}-.1587136{col 67}{space 3} .2553109
{txt}{space 7}2002  {c |}{col 14}{res}{space 2}-.0183069{col 26}{space 2} .0992014{col 37}{space 1}   -0.18{col 46}{space 3}0.854{col 54}{space 4}-.2157239{col 67}{space 3} .1791102
{txt}{space 7}2003  {c |}{col 14}{res}{space 2}  .045758{col 26}{space 2} .1141852{col 37}{space 1}    0.40{col 46}{space 3}0.690{col 54}{space 4}-.1814778{col 67}{space 3} .2729939
{txt}{space 7}2004  {c |}{col 14}{res}{space 2} .0080158{col 26}{space 2} .1078413{col 37}{space 1}    0.07{col 46}{space 3}0.941{col 54}{space 4}-.2065952{col 67}{space 3} .2226268
{txt}{space 7}2005  {c |}{col 14}{res}{space 2} .0690997{col 26}{space 2} .1272167{col 37}{space 1}    0.54{col 46}{space 3}0.589{col 54}{space 4}-.1840696{col 67}{space 3}  .322269
{txt}{space 7}2006  {c |}{col 14}{res}{space 2} .0038343{col 26}{space 2} .1516498{col 37}{space 1}    0.03{col 46}{space 3}0.980{col 54}{space 4}-.2979585{col 67}{space 3} .3056271
{txt}{space 7}2007  {c |}{col 14}{res}{space 2}  .044533{col 26}{space 2} .1609437{col 37}{space 1}    0.28{col 46}{space 3}0.783{col 54}{space 4} -.275755{col 67}{space 3} .3648211
{txt}{space 7}2008  {c |}{col 14}{res}{space 2} .0433962{col 26}{space 2} .1886337{col 37}{space 1}    0.23{col 46}{space 3}0.819{col 54}{space 4}-.3319969{col 67}{space 3} .4187893
{txt}{space 7}2009  {c |}{col 14}{res}{space 2} .0423452{col 26}{space 2} .2034858{col 37}{space 1}    0.21{col 46}{space 3}0.836{col 54}{space 4}-.3626046{col 67}{space 3} .4472949
{txt}{space 7}2010  {c |}{col 14}{res}{space 2} .0812097{col 26}{space 2} .2140981{col 37}{space 1}    0.38{col 46}{space 3}0.705{col 54}{space 4}-.3448591{col 67}{space 3} .5072786
{txt}{space 12} {c |}
{space 7}_cons {c |}{col 14}{res}{space 2} 1.516182{col 26}{space 2} 2.983415{col 37}{space 1}    0.51{col 46}{space 3}0.613{col 54}{space 4}-4.421004{col 67}{space 3} 7.453367
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} .59491306
     {txt}sigma_e {c |} {res} .28789623
         {txt}rho {c |} {res} .81024922{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}

{com}. margins, at(l.gwf_firstldr=(0,1)) atmeans level(90) contrast(at effects) post
{res}
{txt}Contrasts of adjusted predictions
Model VCE{col 14}: {res}Robust

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Linear prediction, predict()}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:1._at}:{space 1}{res:{txt:L2.oil_new}{space 6}{txt:=} {space 3}2.667525 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L2.lincome~w}{space 4}{txt:=} {space 3}8.157192 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.popmad_adj}{space 4}{txt:=} {space 3}52.93633 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.gwf_firs~r}{space 4}{txt:=} {space 10}0}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.logdur}{space 8}{txt:=} {space 3}2.114955 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L2.in_pctgdp}{space 4}{txt:=} {space 3}3.940012 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L2.tax}{space 10}{txt:=} {space 3}14.63909 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1992.year}{space 7}{txt:=} {space 3}.0460526 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1993.year}{space 7}{txt:=} {space 8}.05 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1994.year}{space 7}{txt:=} {space 3}.0447368 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1995.year}{space 7}{txt:=} {space 3}.0421053 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1996.year}{space 7}{txt:=} {space 3}.0434211 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1997.year}{space 7}{txt:=} {space 3}.0473684 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1998.year}{space 7}{txt:=} {space 3}.0539474 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1999.year}{space 7}{txt:=} {space 3}.0578947 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2000.year}{space 7}{txt:=} {space 3}.0539474 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2001.year}{space 7}{txt:=} {space 3}.0513158 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2002.year}{space 7}{txt:=} {space 3}.0605263 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2003.year}{space 7}{txt:=} {space 3}.0618421 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2004.year}{space 7}{txt:=} {space 3}.0578947 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2005.year}{space 7}{txt:=} {space 3}.0565789 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2006.year}{space 7}{txt:=} {space 3}.0552632 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2007.year}{space 7}{txt:=} {space 3}.0539474 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2008.year}{space 7}{txt:=} {space 3}.0526316 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2009.year}{space 7}{txt:=} {space 3}.0552632 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2010.year}{space 7}{txt:=} {space 3}.0552632 {txt:(mean)}}{p_end}
{p2colreset}{...}

{txt}{p2colset 1 14 16 2}{...}
{p2col:2._at}:{space 1}{res:{txt:L2.oil_new}{space 6}{txt:=} {space 3}2.667525 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L2.lincome~w}{space 4}{txt:=} {space 3}8.157192 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.popmad_adj}{space 4}{txt:=} {space 3}52.93633 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.gwf_firs~r}{space 4}{txt:=} {space 10}1}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L.logdur}{space 8}{txt:=} {space 3}2.114955 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L2.in_pctgdp}{space 4}{txt:=} {space 3}3.940012 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:L2.tax}{space 10}{txt:=} {space 3}14.63909 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1992.year}{space 7}{txt:=} {space 3}.0460526 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1993.year}{space 7}{txt:=} {space 8}.05 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1994.year}{space 7}{txt:=} {space 3}.0447368 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1995.year}{space 7}{txt:=} {space 3}.0421053 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1996.year}{space 7}{txt:=} {space 3}.0434211 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1997.year}{space 7}{txt:=} {space 3}.0473684 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1998.year}{space 7}{txt:=} {space 3}.0539474 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:1999.year}{space 7}{txt:=} {space 3}.0578947 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2000.year}{space 7}{txt:=} {space 3}.0539474 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2001.year}{space 7}{txt:=} {space 3}.0513158 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2002.year}{space 7}{txt:=} {space 3}.0605263 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2003.year}{space 7}{txt:=} {space 3}.0618421 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2004.year}{space 7}{txt:=} {space 3}.0578947 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2005.year}{space 7}{txt:=} {space 3}.0565789 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2006.year}{space 7}{txt:=} {space 3}.0552632 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2007.year}{space 7}{txt:=} {space 3}.0539474 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2008.year}{space 7}{txt:=} {space 3}.0526316 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2009.year}{space 7}{txt:=} {space 3}.0552632 {txt:(mean)}}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col: }{space 2}{res:{txt:2010.year}{space 7}{txt:=} {space 3}.0552632 {txt:(mean)}}{p_end}
{p2colreset}{...}

{col 1}{text}{hline 13}{c TT}{hline 11}{hline 12}{hline 11}
{col 14}{text}{c |}         df{col 26}        chi2{col 38}     P>chi2
{col 1}{text}{hline 13}{c +}{hline 11}{hline 12}{hline 11}
{space 9}_at {col 14}{text}{c |}{result}{space 2}        1{col 26}{space 3}     3.70{col 38}{space 2}   0.0543
{col 1}{text}{hline 13}{c BT}{hline 11}{hline 12}{hline 11}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}   Contrast{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [90% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}_at {c |}
(2 vs base)  {c |}{col 14}{res}{space 2} .4231833{col 26}{space 2} .2198957{col 37}{space 1}    1.92{col 46}{space 3}0.054{col 54}{space 4} .0614871{col 67}{space 3} .7848796
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. estimates store margins_9
{txt}
{com}. 
. *Code to combine these marginal effects into Figure 2
. coefplot ///
> (margins_1, label("{c -(}bf:Oil Income,{c )-}{c -(}it: model 2{c )-}") m(O) offset(0.3)) ///
> (margins_4, label("{c -(}it:model 3{c )-}") m(O) offset(0.275)) ///
> (margins_7, label("{c -(}it:model 4{c )-}") m(O) offset(0.25)) ///
> (margins_2, label("{c -(}bf:Leader Duration,{c )-}{c -(}it: model 2{c )-}") m(S) offset(0.025)) ///
> (margins_5, label("{c -(}it:model 3{c )-}") m(S) offset(0)) ///
> (margins_8, label("{c -(}it:model 4{c )-}") m(S) offset(-0.025)) ///
> (margins_3, label("{c -(}bf:New Leader,{c )-}{c -(}it: model 2{c )-}") m(T) offset(-0.25)) ///
> (margins_6, label("{c -(}it:model 3{c )-}") m(T) offset(-0.275)) ///
> (margins_9, label("{c -(}it:model 4{c )-}") m(T) offset(-0.30)) ///
> ,scheme(plotplain) xline(0) level(90) xtitle(Marginal Effect per IQR increase) ///
> ytitle("Explanatory Variables") ///
> ylabel(.) note("Note: Estimates are expressed as 90% confidence intervals of the change in" "the expected value of the dependent variable per interquartile range increase" "in the explantory variables. Predicted values calculated while holding" "all other explanatory variables at mean values.")
{res}{txt}
{com}. graph save PersonalismFigure2, replace
{res}{txt}(file PersonalismFigure2.gph saved)

{com}. 
. ***************
. **ONLINE APPENDIX/SUPPLEMENTAL ANALYSES
. ***************
. 
. *TABLE 1A, MODELS 1 AND 2 / MAIN RESULTS, RE-ESTIMATED IN SAMPLE COVERING 1980-2010
. *Model 1 - Baseline specification, post1980
. xtreg pers_2pl l2.oil_new l2.lgdppc l.popmad_adj l.gwf_firstldr l.logdur i.year if year>=1980, fe robust
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}     1,720
{txt}Group variable: {res}gwf_caseid{txt}{col 49}Number of groups{col 67}={col 69}{res}       130

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.0910{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.1907{col 63}{txt}avg{col 67}={col 69}{res}      13.2
{txt}     overall = {res}0.1623{col 63}{txt}max{col 67}={col 69}{res}        30

{txt}{col 49}F({res}34{txt},{res}129{txt}){col 67}={col 70}{res}     1.71
{txt}corr(u_i, Xb){col 16}= {res}0.2213{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0173

{txt}{ralign 78:(Std. Err. adjusted for {res:130} clusters in gwf_caseid)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}    pers_2pl{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}oil_new {c |}
{space 9}L2. {c |}{col 14}{res}{space 2}-.0005791{col 26}{space 2} .0254933{col 37}{space 1}   -0.02{col 46}{space 3}0.982{col 54}{space 4}-.0510183{col 67}{space 3} .0498601
{txt}{space 12} {c |}
{space 6}lgdppc {c |}
{space 9}L2. {c |}{col 14}{res}{space 2}   .03655{col 26}{space 2} .1272203{col 37}{space 1}    0.29{col 46}{space 3}0.774{col 54}{space 4}-.2151585{col 67}{space 3} .2882585
{txt}{space 12} {c |}
{space 2}popmad_adj {c |}
{space 9}L1. {c |}{col 14}{res}{space 2}-.0005916{col 26}{space 2} .0008935{col 37}{space 1}   -0.66{col 46}{space 3}0.509{col 54}{space 4}-.0023595{col 67}{space 3} .0011762
{txt}{space 12} {c |}
gwf_firstldr {c |}
{space 9}L1. {c |}{col 14}{res}{space 2} .0407295{col 26}{space 2} .1592797{col 37}{space 1}    0.26{col 46}{space 3}0.799{col 54}{space 4}-.2744092{col 67}{space 3} .3558683
{txt}{space 12} {c |}
{space 6}logdur {c |}
{space 9}L1. {c |}{col 14}{res}{space 2} .1335796{col 26}{space 2} .0336807{col 37}{space 1}    3.97{col 46}{space 3}0.000{col 54}{space 4} .0669416{col 67}{space 3} .2002175
{txt}{space 12} {c |}
{space 8}year {c |}
{space 7}1981  {c |}{col 14}{res}{space 2} .0044863{col 26}{space 2} .0310458{col 37}{space 1}    0.14{col 46}{space 3}0.885{col 54}{space 4}-.0569385{col 67}{space 3} .0659111
{txt}{space 7}1982  {c |}{col 14}{res}{space 2}-.0043594{col 26}{space 2} .0659873{col 37}{space 1}   -0.07{col 46}{space 3}0.947{col 54}{space 4}-.1349168{col 67}{space 3} .1261981
{txt}{space 7}1983  {c |}{col 14}{res}{space 2} .0354617{col 26}{space 2} .0618494{col 37}{space 1}    0.57{col 46}{space 3}0.567{col 54}{space 4}-.0869088{col 67}{space 3} .1578322
{txt}{space 7}1984  {c |}{col 14}{res}{space 2}  .048362{col 26}{space 2} .0646882{col 37}{space 1}    0.75{col 46}{space 3}0.456{col 54}{space 4}-.0796251{col 67}{space 3} .1763492
{txt}{space 7}1985  {c |}{col 14}{res}{space 2} .0656846{col 26}{space 2} .0701335{col 37}{space 1}    0.94{col 46}{space 3}0.351{col 54}{space 4}-.0730763{col 67}{space 3} .2044455
{txt}{space 7}1986  {c |}{col 14}{res}{space 2} .0201136{col 26}{space 2}  .085506{col 37}{space 1}    0.24{col 46}{space 3}0.814{col 54}{space 4}-.1490621{col 67}{space 3} .1892893
{txt}{space 7}1987  {c |}{col 14}{res}{space 2} .0102574{col 26}{space 2}  .076541{col 37}{space 1}    0.13{col 46}{space 3}0.894{col 54}{space 4}-.1411807{col 67}{space 3} .1616956
{txt}{space 7}1988  {c |}{col 14}{res}{space 2}   .01064{col 26}{space 2} .0728519{col 37}{space 1}    0.15{col 46}{space 3}0.884{col 54}{space 4}-.1334994{col 67}{space 3} .1547793
{txt}{space 7}1989  {c |}{col 14}{res}{space 2} .0173963{col 26}{space 2} .0871406{col 37}{space 1}    0.20{col 46}{space 3}0.842{col 54}{space 4}-.1550135{col 67}{space 3} .1898062
{txt}{space 7}1990  {c |}{col 14}{res}{space 2} -.036393{col 26}{space 2} .0982779{col 37}{space 1}   -0.37{col 46}{space 3}0.712{col 54}{space 4}-.2308383{col 67}{space 3} .1580523
{txt}{space 7}1991  {c |}{col 14}{res}{space 2}-.0102032{col 26}{space 2} .0939667{col 37}{space 1}   -0.11{col 46}{space 3}0.914{col 54}{space 4}-.1961187{col 67}{space 3} .1757122
{txt}{space 7}1992  {c |}{col 14}{res}{space 2} -.016053{col 26}{space 2} .0971359{col 37}{space 1}   -0.17{col 46}{space 3}0.869{col 54}{space 4}-.2082388{col 67}{space 3} .1761327
{txt}{space 7}1993  {c |}{col 14}{res}{space 2} .0320051{col 26}{space 2} .0957877{col 37}{space 1}    0.33{col 46}{space 3}0.739{col 54}{space 4}-.1575132{col 67}{space 3} .2215234
{txt}{space 7}1994  {c |}{col 14}{res}{space 2}-.0216288{col 26}{space 2} .0980359{col 37}{space 1}   -0.22{col 46}{space 3}0.826{col 54}{space 4}-.2155953{col 67}{space 3} .1723377
{txt}{space 7}1995  {c |}{col 14}{res}{space 2}-.0032654{col 26}{space 2} .0990426{col 37}{space 1}   -0.03{col 46}{space 3}0.974{col 54}{space 4}-.1992236{col 67}{space 3} .1926928
{txt}{space 7}1996  {c |}{col 14}{res}{space 2} .0122947{col 26}{space 2} .1055631{col 37}{space 1}    0.12{col 46}{space 3}0.907{col 54}{space 4}-.1965644{col 67}{space 3} .2211539
{txt}{space 7}1997  {c |}{col 14}{res}{space 2}-.0006834{col 26}{space 2} .1052287{col 37}{space 1}   -0.01{col 46}{space 3}0.995{col 54}{space 4}-.2088809{col 67}{space 3} .2075141
{txt}{space 7}1998  {c |}{col 14}{res}{space 2}-.0174963{col 26}{space 2} .1097094{col 37}{space 1}   -0.16{col 46}{space 3}0.874{col 54}{space 4} -.234559{col 67}{space 3} .1995663
{txt}{space 7}1999  {c |}{col 14}{res}{space 2} -.070062{col 26}{space 2} .1285439{col 37}{space 1}   -0.55{col 46}{space 3}0.587{col 54}{space 4}-.3243893{col 67}{space 3} .1842653
{txt}{space 7}2000  {c |}{col 14}{res}{space 2}-.0112153{col 26}{space 2} .1150475{col 37}{space 1}   -0.10{col 46}{space 3}0.922{col 54}{space 4}-.2388396{col 67}{space 3} .2164089
{txt}{space 7}2002  {c |}{col 14}{res}{space 2}-.0295382{col 26}{space 2} .1126489{col 37}{space 1}   -0.26{col 46}{space 3}0.794{col 54}{space 4}-.2524167{col 67}{space 3} .1933404
{txt}{space 7}2003  {c |}{col 14}{res}{space 2}-.0131432{col 26}{space 2} .1173827{col 37}{space 1}   -0.11{col 46}{space 3}0.911{col 54}{space 4}-.2453877{col 67}{space 3} .2191013
{txt}{space 7}2004  {c |}{col 14}{res}{space 2}-.0552553{col 26}{space 2}  .107629{col 37}{space 1}   -0.51{col 46}{space 3}0.609{col 54}{space 4}-.2682018{col 67}{space 3} .1576912
{txt}{space 7}2005  {c |}{col 14}{res}{space 2}-.0068815{col 26}{space 2} .1068191{col 37}{space 1}   -0.06{col 46}{space 3}0.949{col 54}{space 4}-.2182257{col 67}{space 3} .2044626
{txt}{space 7}2006  {c |}{col 14}{res}{space 2}-.0592463{col 26}{space 2} .1175702{col 37}{space 1}   -0.50{col 46}{space 3}0.615{col 54}{space 4}-.2918619{col 67}{space 3} .1733692
{txt}{space 7}2007  {c |}{col 14}{res}{space 2}-.0438991{col 26}{space 2} .1177602{col 37}{space 1}   -0.37{col 46}{space 3}0.710{col 54}{space 4}-.2768906{col 67}{space 3} .1890924
{txt}{space 7}2008  {c |}{col 14}{res}{space 2}-.0270993{col 26}{space 2} .1177016{col 37}{space 1}   -0.23{col 46}{space 3}0.818{col 54}{space 4}-.2599747{col 67}{space 3} .2057761
{txt}{space 7}2009  {c |}{col 14}{res}{space 2}-.0567418{col 26}{space 2} .1225473{col 37}{space 1}   -0.46{col 46}{space 3}0.644{col 54}{space 4}-.2992046{col 67}{space 3}  .185721
{txt}{space 7}2010  {c |}{col 14}{res}{space 2}-.0316571{col 26}{space 2} .1255521{col 37}{space 1}   -0.25{col 46}{space 3}0.801{col 54}{space 4} -.280065{col 67}{space 3} .2167507
{txt}{space 12} {c |}
{space 7}_cons {c |}{col 14}{res}{space 2} -.430478{col 26}{space 2} .8771273{col 37}{space 1}   -0.49{col 46}{space 3}0.624{col 54}{space 4}-2.165896{col 67}{space 3}  1.30494
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} .74880311
     {txt}sigma_e {c |} {res}  .3216318
         {txt}rho {c |} {res} .84424222{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}

{com}. est store m1
{txt}
{com}. *identify top 10% threshold of oil production for robustness analysis
. centile oil_new if e(sample), centile(90)

{txt}{col 56}{hline 2} Binom. Interp. {hline 2}
    Variable {c |}       Obs  Percentile    Centile        [95% Conf. Interval]
{hline 13}{c +}{hline 61}
     oil_new {c |}{col 14}{res}     1,719{col 29}     90{col 39} 7.848155{col 55} 7.599663{col 67} 8.069113{txt}

{com}. *Model 2 - Baseline specification, post 1980, exclude top 10% of oil_new obs
. xtreg pers_2pl l2.oil_new l2.lgdppc l.popmad_adj l.gwf_firstldr l.logdur i.year if year>=1980 & oil_new<7.848155, fe robust
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}     1,548
{txt}Group variable: {res}gwf_caseid{txt}{col 49}Number of groups{col 67}={col 69}{res}       124

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.1053{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.0259{col 63}{txt}avg{col 67}={col 69}{res}      12.5
{txt}     overall = {res}0.0600{col 63}{txt}max{col 67}={col 69}{res}        30

{txt}{col 49}F({res}34{txt},{res}123{txt}){col 67}={col 70}{res}     1.99
{txt}corr(u_i, Xb){col 16}= {res}-0.0927{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0034

{txt}{ralign 78:(Std. Err. adjusted for {res:124} clusters in gwf_caseid)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}    pers_2pl{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}oil_new {c |}
{space 9}L2. {c |}{col 14}{res}{space 2}-.0019085{col 26}{space 2} .0266935{col 37}{space 1}   -0.07{col 46}{space 3}0.943{col 54}{space 4}-.0547466{col 67}{space 3} .0509295
{txt}{space 12} {c |}
{space 6}lgdppc {c |}
{space 9}L2. {c |}{col 14}{res}{space 2} .1434778{col 26}{space 2}  .122208{col 37}{space 1}    1.17{col 46}{space 3}0.243{col 54}{space 4}-.0984255{col 67}{space 3} .3853811
{txt}{space 12} {c |}
{space 2}popmad_adj {c |}
{space 9}L1. {c |}{col 14}{res}{space 2}-.0011174{col 26}{space 2} .0008785{col 37}{space 1}   -1.27{col 46}{space 3}0.206{col 54}{space 4}-.0028563{col 67}{space 3} .0006216
{txt}{space 12} {c |}
gwf_firstldr {c |}
{space 9}L1. {c |}{col 14}{res}{space 2} .0160369{col 26}{space 2} .1553964{col 37}{space 1}    0.10{col 46}{space 3}0.918{col 54}{space 4}-.2915609{col 67}{space 3} .3236346
{txt}{space 12} {c |}
{space 6}logdur {c |}
{space 9}L1. {c |}{col 14}{res}{space 2} .1504907{col 26}{space 2} .0349205{col 37}{space 1}    4.31{col 46}{space 3}0.000{col 54}{space 4} .0813677{col 67}{space 3} .2196137
{txt}{space 12} {c |}
{space 8}year {c |}
{space 7}1981  {c |}{col 14}{res}{space 2} .0039685{col 26}{space 2} .0333936{col 37}{space 1}    0.12{col 46}{space 3}0.906{col 54}{space 4}-.0621321{col 67}{space 3} .0700691
{txt}{space 7}1982  {c |}{col 14}{res}{space 2}-.0074844{col 26}{space 2} .0724598{col 37}{space 1}   -0.10{col 46}{space 3}0.918{col 54}{space 4}-.1509141{col 67}{space 3} .1359453
{txt}{space 7}1983  {c |}{col 14}{res}{space 2} .0325435{col 26}{space 2}  .067387{col 37}{space 1}    0.48{col 46}{space 3}0.630{col 54}{space 4}-.1008449{col 67}{space 3} .1659319
{txt}{space 7}1984  {c |}{col 14}{res}{space 2} .0420732{col 26}{space 2} .0710934{col 37}{space 1}    0.59{col 46}{space 3}0.555{col 54}{space 4}-.0986518{col 67}{space 3} .1827983
{txt}{space 7}1985  {c |}{col 14}{res}{space 2} .0623976{col 26}{space 2} .0767137{col 37}{space 1}    0.81{col 46}{space 3}0.418{col 54}{space 4}-.0894525{col 67}{space 3} .2142477
{txt}{space 7}1986  {c |}{col 14}{res}{space 2} .0132603{col 26}{space 2} .0946893{col 37}{space 1}    0.14{col 46}{space 3}0.889{col 54}{space 4}-.1741713{col 67}{space 3}  .200692
{txt}{space 7}1987  {c |}{col 14}{res}{space 2} .0012559{col 26}{space 2} .0844097{col 37}{space 1}    0.01{col 46}{space 3}0.988{col 54}{space 4}-.1658281{col 67}{space 3} .1683398
{txt}{space 7}1988  {c |}{col 14}{res}{space 2} .0022967{col 26}{space 2} .0809714{col 37}{space 1}    0.03{col 46}{space 3}0.977{col 54}{space 4}-.1579811{col 67}{space 3} .1625746
{txt}{space 7}1989  {c |}{col 14}{res}{space 2} .0104485{col 26}{space 2}  .096902{col 37}{space 1}    0.11{col 46}{space 3}0.914{col 54}{space 4} -.181363{col 67}{space 3} .2022601
{txt}{space 7}1990  {c |}{col 14}{res}{space 2}-.0489446{col 26}{space 2} .1090135{col 37}{space 1}   -0.45{col 46}{space 3}0.654{col 54}{space 4}  -.26473{col 67}{space 3} .1668409
{txt}{space 7}1991  {c |}{col 14}{res}{space 2}-.0192421{col 26}{space 2} .1035116{col 37}{space 1}   -0.19{col 46}{space 3}0.853{col 54}{space 4} -.224137{col 67}{space 3} .1856528
{txt}{space 7}1992  {c |}{col 14}{res}{space 2}-.0264742{col 26}{space 2}  .107598{col 37}{space 1}   -0.25{col 46}{space 3}0.806{col 54}{space 4}-.2394579{col 67}{space 3} .1865094
{txt}{space 7}1993  {c |}{col 14}{res}{space 2} .0262718{col 26}{space 2} .1066627{col 37}{space 1}    0.25{col 46}{space 3}0.806{col 54}{space 4}-.1848605{col 67}{space 3} .2374041
{txt}{space 7}1994  {c |}{col 14}{res}{space 2}-.0346468{col 26}{space 2} .1100317{col 37}{space 1}   -0.31{col 46}{space 3}0.753{col 54}{space 4}-.2524478{col 67}{space 3} .1831542
{txt}{space 7}1995  {c |}{col 14}{res}{space 2}-.0052314{col 26}{space 2} .1119464{col 37}{space 1}   -0.05{col 46}{space 3}0.963{col 54}{space 4}-.2268225{col 67}{space 3} .2163596
{txt}{space 7}1996  {c |}{col 14}{res}{space 2} .0033722{col 26}{space 2} .1151266{col 37}{space 1}    0.03{col 46}{space 3}0.977{col 54}{space 4}-.2245138{col 67}{space 3} .2312582
{txt}{space 7}1997  {c |}{col 14}{res}{space 2}-.0173117{col 26}{space 2} .1158305{col 37}{space 1}   -0.15{col 46}{space 3}0.881{col 54}{space 4}-.2465912{col 67}{space 3} .2119677
{txt}{space 7}1998  {c |}{col 14}{res}{space 2}-.0422168{col 26}{space 2} .1190463{col 37}{space 1}   -0.35{col 46}{space 3}0.723{col 54}{space 4}-.2778617{col 67}{space 3} .1934281
{txt}{space 7}1999  {c |}{col 14}{res}{space 2}-.1017593{col 26}{space 2} .1405509{col 37}{space 1}   -0.72{col 46}{space 3}0.470{col 54}{space 4}-.3799713{col 67}{space 3} .1764526
{txt}{space 7}2000  {c |}{col 14}{res}{space 2}-.0407221{col 26}{space 2} .1257161{col 37}{space 1}   -0.32{col 46}{space 3}0.747{col 54}{space 4}-.2895694{col 67}{space 3} .2081253
{txt}{space 7}2002  {c |}{col 14}{res}{space 2}-.0654442{col 26}{space 2} .1272536{col 37}{space 1}   -0.51{col 46}{space 3}0.608{col 54}{space 4}-.3173349{col 67}{space 3} .1864466
{txt}{space 7}2003  {c |}{col 14}{res}{space 2}-.0511047{col 26}{space 2} .1290237{col 37}{space 1}   -0.40{col 46}{space 3}0.693{col 54}{space 4}-.3064992{col 67}{space 3} .2042897
{txt}{space 7}2004  {c |}{col 14}{res}{space 2} -.101695{col 26}{space 2} .1310288{col 37}{space 1}   -0.78{col 46}{space 3}0.439{col 54}{space 4}-.3610586{col 67}{space 3} .1576685
{txt}{space 7}2005  {c |}{col 14}{res}{space 2}-.0722313{col 26}{space 2} .1280273{col 37}{space 1}   -0.56{col 46}{space 3}0.574{col 54}{space 4}-.3256535{col 67}{space 3} .1811909
{txt}{space 7}2006  {c |}{col 14}{res}{space 2} -.157641{col 26}{space 2} .1423373{col 37}{space 1}   -1.11{col 46}{space 3}0.270{col 54}{space 4} -.439389{col 67}{space 3} .1241069
{txt}{space 7}2007  {c |}{col 14}{res}{space 2}-.1200847{col 26}{space 2} .1420761{col 37}{space 1}   -0.85{col 46}{space 3}0.400{col 54}{space 4}-.4013157{col 67}{space 3} .1611463
{txt}{space 7}2008  {c |}{col 14}{res}{space 2}-.1116732{col 26}{space 2}  .143476{col 37}{space 1}   -0.78{col 46}{space 3}0.438{col 54}{space 4} -.395675{col 67}{space 3} .1723287
{txt}{space 7}2009  {c |}{col 14}{res}{space 2}-.1160381{col 26}{space 2} .1504133{col 37}{space 1}   -0.77{col 46}{space 3}0.442{col 54}{space 4} -.413772{col 67}{space 3} .1816959
{txt}{space 7}2010  {c |}{col 14}{res}{space 2}-.0901759{col 26}{space 2} .1530025{col 37}{space 1}   -0.59{col 46}{space 3}0.557{col 54}{space 4} -.393035{col 67}{space 3} .2126833
{txt}{space 12} {c |}
{space 7}_cons {c |}{col 14}{res}{space 2}-1.150629{col 26}{space 2} .8335168{col 37}{space 1}   -1.38{col 46}{space 3}0.170{col 54}{space 4}-2.800525{col 67}{space 3} .4992661
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} .78629739
     {txt}sigma_e {c |} {res} .32739172
         {txt}rho {c |} {res} .85224964{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}

{com}. est store m2
{txt}
{com}. esttab m* using m1.csv, cells(b(star  fmt(%9.3f)) se(par fmt(%9.3f))) stats(N) style(tab) replace label starlevels(* 0.10 ** 0.05 *** 0.01)
{res}{txt}(output written to {browse  `"m1.csv"'})

{com}. 
. 
. *TABLE 2A, MODELS 3 AND 4 / CLUSTER STANDARD ERRORS ON COUNTRY
. tsset ccode year
{res}{txt}{col 8}panel variable:  {res}ccode (unbalanced)
{txt}{col 9}time variable:  {res}{col 25}year, 1960 to 2010, but with gaps
{txt}{col 17}delta:  {res}1 unit
{txt}
{com}. *First identify top 10% of producers for Model 2 robustness
. qui: xtreg pers_2pl l2.oil_new l2.lincome_new l.gwf_firstldr l.logdur l.popmad_adj i.year if year>=1991, fe
{txt}
{com}. centile oil_new if e(sample), centile(90)

{txt}{col 56}{hline 2} Binom. Interp. {hline 2}
    Variable {c |}       Obs  Percentile    Centile        [95% Conf. Interval]
{hline 13}{c +}{hline 61}
     oil_new {c |}{col 14}{res}     1,058{col 29}     90{col 39} 8.090247{col 55} 7.885722{col 67} 8.327578{txt}

{com}. *Model 3
. xtreg pers_2pl l2.oil_new l2.lincome_new l.gwf_firstldr l.logdur l.popmad_adj i.year l2.in_pctgdp l2.tax if year>=1991, fe
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       867
{txt}Group variable: {res}ccode{txt}{col 49}Number of groups{col 67}={col 69}{res}        73

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.1386{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.3172{col 63}{txt}avg{col 67}={col 69}{res}      11.9
{txt}     overall = {res}0.2997{col 63}{txt}max{col 67}={col 69}{res}        19

{txt}{col 49}F({res}25{txt},{res}769{txt}){col 67}={col 70}{res}     4.95
{txt}corr(u_i, Xb){col 16}= {res}-0.0857{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    pers_2pl{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}oil_new {c |}
{space 9}L2. {c |}{col 14}{res}{space 2}  .061683{col 26}{space 2} .0180499{col 37}{space 1}    3.42{col 46}{space 3}0.001{col 54}{space 4} .0262501{col 67}{space 3} .0971158
{txt}{space 12} {c |}
{space 1}lincome_new {c |}
{space 9}L2. {c |}{col 14}{res}{space 2}-.2578799{col 26}{space 2} .0897255{col 37}{space 1}   -2.87{col 46}{space 3}0.004{col 54}{space 4}-.4340158{col 67}{space 3}-.0817439
{txt}{space 12} {c |}
gwf_firstldr {c |}
{space 9}L1. {c |}{col 14}{res}{space 2} .2870241{col 26}{space 2} .0560643{col 37}{space 1}    5.12{col 46}{space 3}0.000{col 54}{space 4} .1769669{col 67}{space 3} .3970813
{txt}{space 12} {c |}
{space 6}logdur {c |}
{space 9}L1. {c |}{col 14}{res}{space 2}  .108329{col 26}{space 2} .0164069{col 37}{space 1}    6.60{col 46}{space 3}0.000{col 54}{space 4} .0761214{col 67}{space 3} .1405366
{txt}{space 12} {c |}
{space 2}popmad_adj {c |}
{space 9}L1. {c |}{col 14}{res}{space 2}-.0019428{col 26}{space 2} .0014731{col 37}{space 1}   -1.32{col 46}{space 3}0.188{col 54}{space 4}-.0048345{col 67}{space 3}  .000949
{txt}{space 12} {c |}
{space 8}year {c |}
{space 7}1993  {c |}{col 14}{res}{space 2} .0393546{col 26}{space 2} .0699943{col 37}{space 1}    0.56{col 46}{space 3}0.574{col 54}{space 4} -.098048{col 67}{space 3} .1767572
{txt}{space 7}1994  {c |}{col 14}{res}{space 2}-.0175133{col 26}{space 2} .0725627{col 37}{space 1}   -0.24{col 46}{space 3}0.809{col 54}{space 4}-.1599578{col 67}{space 3} .1249313
{txt}{space 7}1995  {c |}{col 14}{res}{space 2}-.0142747{col 26}{space 2} .0740242{col 37}{space 1}   -0.19{col 46}{space 3}0.847{col 54}{space 4}-.1595882{col 67}{space 3} .1310387
{txt}{space 7}1996  {c |}{col 14}{res}{space 2}  .028173{col 26}{space 2} .0739869{col 37}{space 1}    0.38{col 46}{space 3}0.703{col 54}{space 4}-.1170672{col 67}{space 3} .1734132
{txt}{space 7}1997  {c |}{col 14}{res}{space 2} .0074187{col 26}{space 2}  .073427{col 37}{space 1}    0.10{col 46}{space 3}0.920{col 54}{space 4}-.1367224{col 67}{space 3} .1515597
{txt}{space 7}1998  {c |}{col 14}{res}{space 2}-.0228868{col 26}{space 2} .0720285{col 37}{space 1}   -0.32{col 46}{space 3}0.751{col 54}{space 4}-.1642826{col 67}{space 3} .1185089
{txt}{space 7}1999  {c |}{col 14}{res}{space 2}-.0423413{col 26}{space 2} .0713324{col 37}{space 1}   -0.59{col 46}{space 3}0.553{col 54}{space 4}-.1823706{col 67}{space 3} .0976879
{txt}{space 7}2000  {c |}{col 14}{res}{space 2} .0045026{col 26}{space 2} .0717967{col 37}{space 1}    0.06{col 46}{space 3}0.950{col 54}{space 4}-.1364382{col 67}{space 3} .1454434
{txt}{space 7}2001  {c |}{col 14}{res}{space 2} .0064106{col 26}{space 2} .0729296{col 37}{space 1}    0.09{col 46}{space 3}0.930{col 54}{space 4}-.1367542{col 67}{space 3} .1495753
{txt}{space 7}2002  {c |}{col 14}{res}{space 2}-.0400516{col 26}{space 2} .0711727{col 37}{space 1}   -0.56{col 46}{space 3}0.574{col 54}{space 4}-.1797673{col 67}{space 3} .0996642
{txt}{space 7}2003  {c |}{col 14}{res}{space 2} .0098208{col 26}{space 2} .0716527{col 37}{space 1}    0.14{col 46}{space 3}0.891{col 54}{space 4}-.1308372{col 67}{space 3} .1504789
{txt}{space 7}2004  {c |}{col 14}{res}{space 2}-.0163065{col 26}{space 2} .0725175{col 37}{space 1}   -0.22{col 46}{space 3}0.822{col 54}{space 4}-.1586622{col 67}{space 3} .1260492
{txt}{space 7}2005  {c |}{col 14}{res}{space 2} .0351888{col 26}{space 2} .0735859{col 37}{space 1}    0.48{col 46}{space 3}0.633{col 54}{space 4}-.1092643{col 67}{space 3} .1796419
{txt}{space 7}2006  {c |}{col 14}{res}{space 2}-.0285164{col 26}{space 2}  .074658{col 37}{space 1}   -0.38{col 46}{space 3}0.703{col 54}{space 4} -.175074{col 67}{space 3} .1180412
{txt}{space 7}2007  {c |}{col 14}{res}{space 2} .0140581{col 26}{space 2} .0765243{col 37}{space 1}    0.18{col 46}{space 3}0.854{col 54}{space 4}-.1361633{col 67}{space 3} .1642794
{txt}{space 7}2008  {c |}{col 14}{res}{space 2} .0412204{col 26}{space 2} .0780889{col 37}{space 1}    0.53{col 46}{space 3}0.598{col 54}{space 4}-.1120722{col 67}{space 3}  .194513
{txt}{space 7}2009  {c |}{col 14}{res}{space 2}-.0019046{col 26}{space 2}  .079936{col 37}{space 1}   -0.02{col 46}{space 3}0.981{col 54}{space 4}-.1588234{col 67}{space 3} .1550141
{txt}{space 7}2010  {c |}{col 14}{res}{space 2} .0132778{col 26}{space 2}  .081172{col 37}{space 1}    0.16{col 46}{space 3}0.870{col 54}{space 4}-.1460673{col 67}{space 3} .1726228
{txt}{space 12} {c |}
{space 3}in_pctgdp {c |}
{space 9}L2. {c |}{col 14}{res}{space 2}-.0026108{col 26}{space 2} .0025421{col 37}{space 1}   -1.03{col 46}{space 3}0.305{col 54}{space 4} -.007601{col 67}{space 3} .0023795
{txt}{space 12} {c |}
{space 9}tax {c |}
{space 9}L2. {c |}{col 14}{res}{space 2}  .005907{col 26}{space 2} .0036852{col 37}{space 1}    1.60{col 46}{space 3}0.109{col 54}{space 4}-.0013273{col 67}{space 3} .0131412
{txt}{space 12} {c |}
{space 7}_cons {c |}{col 14}{res}{space 2} 1.712427{col 26}{space 2} .7080274{col 37}{space 1}    2.42{col 46}{space 3}0.016{col 54}{space 4} .3225315{col 67}{space 3} 3.102323
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} .61614922
     {txt}sigma_e {c |} {res} .31113289
         {txt}rho {c |} {res} .79682025{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}
F test that all u_i=0: F({res}72{txt}, {res}769{txt}) = {res}33.37{col 62}{txt}Prob > F = {res}0.0000
{txt}
{com}. est store r3
{txt}
{com}. *Model 4
. xtreg pers_2pl l2.oil_new l2.lincome_new l.gwf_firstldr l.logdur l.popmad_adj i.year l2.in_pctgdp l2.tax if year>=1991 & oil_new<=8.09, fe
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       763
{txt}Group variable: {res}ccode{txt}{col 49}Number of groups{col 67}={col 69}{res}        71

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.1561{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.2705{col 63}{txt}avg{col 67}={col 69}{res}      10.7
{txt}     overall = {res}0.2375{col 63}{txt}max{col 67}={col 69}{res}        19

{txt}{col 49}F({res}25{txt},{res}667{txt}){col 67}={col 70}{res}     4.94
{txt}corr(u_i, Xb){col 16}= {res}-0.3028{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    pers_2pl{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}oil_new {c |}
{space 9}L2. {c |}{col 14}{res}{space 2} .0573356{col 26}{space 2} .0186177{col 37}{space 1}    3.08{col 46}{space 3}0.002{col 54}{space 4} .0207793{col 67}{space 3} .0938919
{txt}{space 12} {c |}
{space 1}lincome_new {c |}
{space 9}L2. {c |}{col 14}{res}{space 2} -.101083{col 26}{space 2}  .105114{col 37}{space 1}   -0.96{col 46}{space 3}0.337{col 54}{space 4}-.3074772{col 67}{space 3} .1053112
{txt}{space 12} {c |}
gwf_firstldr {c |}
{space 9}L1. {c |}{col 14}{res}{space 2} .3050404{col 26}{space 2} .0613812{col 37}{space 1}    4.97{col 46}{space 3}0.000{col 54}{space 4} .1845167{col 67}{space 3}  .425564
{txt}{space 12} {c |}
{space 6}logdur {c |}
{space 9}L1. {c |}{col 14}{res}{space 2} .1255767{col 26}{space 2}   .01775{col 37}{space 1}    7.07{col 46}{space 3}0.000{col 54}{space 4} .0907242{col 67}{space 3} .1604292
{txt}{space 12} {c |}
{space 2}popmad_adj {c |}
{space 9}L1. {c |}{col 14}{res}{space 2}-.0027309{col 26}{space 2} .0015353{col 37}{space 1}   -1.78{col 46}{space 3}0.076{col 54}{space 4}-.0057454{col 67}{space 3} .0002837
{txt}{space 12} {c |}
{space 8}year {c |}
{space 7}1993  {c |}{col 14}{res}{space 2} .0440369{col 26}{space 2} .0741328{col 37}{space 1}    0.59{col 46}{space 3}0.553{col 54}{space 4} -.101525{col 67}{space 3} .1895987
{txt}{space 7}1994  {c |}{col 14}{res}{space 2}-.0142676{col 26}{space 2} .0771105{col 37}{space 1}   -0.19{col 46}{space 3}0.853{col 54}{space 4}-.1656761{col 67}{space 3} .1371409
{txt}{space 7}1995  {c |}{col 14}{res}{space 2}-.0199063{col 26}{space 2} .0788194{col 37}{space 1}   -0.25{col 46}{space 3}0.801{col 54}{space 4}-.1746703{col 67}{space 3} .1348578
{txt}{space 7}1996  {c |}{col 14}{res}{space 2} .0275398{col 26}{space 2} .0793259{col 37}{space 1}    0.35{col 46}{space 3}0.729{col 54}{space 4}-.1282187{col 67}{space 3} .1832983
{txt}{space 7}1997  {c |}{col 14}{res}{space 2} -.000294{col 26}{space 2} .0785897{col 37}{space 1}   -0.00{col 46}{space 3}0.997{col 54}{space 4}-.1546071{col 67}{space 3}  .154019
{txt}{space 7}1998  {c |}{col 14}{res}{space 2}-.0393314{col 26}{space 2} .0770723{col 37}{space 1}   -0.51{col 46}{space 3}0.610{col 54}{space 4}-.1906649{col 67}{space 3} .1120021
{txt}{space 7}1999  {c |}{col 14}{res}{space 2}-.0617537{col 26}{space 2} .0762748{col 37}{space 1}   -0.81{col 46}{space 3}0.418{col 54}{space 4}-.2115214{col 67}{space 3}  .088014
{txt}{space 7}2000  {c |}{col 14}{res}{space 2}-.0168441{col 26}{space 2} .0771254{col 37}{space 1}   -0.22{col 46}{space 3}0.827{col 54}{space 4}-.1682819{col 67}{space 3} .1345937
{txt}{space 7}2001  {c |}{col 14}{res}{space 2}-.0065035{col 26}{space 2}  .078598{col 37}{space 1}   -0.08{col 46}{space 3}0.934{col 54}{space 4}-.1608328{col 67}{space 3} .1478258
{txt}{space 7}2002  {c |}{col 14}{res}{space 2} -.061484{col 26}{space 2}  .076425{col 37}{space 1}   -0.80{col 46}{space 3}0.421{col 54}{space 4}-.2115465{col 67}{space 3} .0885785
{txt}{space 7}2003  {c |}{col 14}{res}{space 2}-.0025682{col 26}{space 2} .0774954{col 37}{space 1}   -0.03{col 46}{space 3}0.974{col 54}{space 4}-.1547325{col 67}{space 3} .1495961
{txt}{space 7}2004  {c |}{col 14}{res}{space 2} -.036917{col 26}{space 2} .0792485{col 37}{space 1}   -0.47{col 46}{space 3}0.641{col 54}{space 4}-.1925237{col 67}{space 3} .1186896
{txt}{space 7}2005  {c |}{col 14}{res}{space 2}-.0052561{col 26}{space 2} .0811305{col 37}{space 1}   -0.06{col 46}{space 3}0.948{col 54}{space 4} -.164558{col 67}{space 3} .1540458
{txt}{space 7}2006  {c |}{col 14}{res}{space 2}-.0733225{col 26}{space 2} .0821251{col 37}{space 1}   -0.89{col 46}{space 3}0.372{col 54}{space 4}-.2345773{col 67}{space 3} .0879324
{txt}{space 7}2007  {c |}{col 14}{res}{space 2}-.0288484{col 26}{space 2}  .084945{col 37}{space 1}   -0.34{col 46}{space 3}0.734{col 54}{space 4}-.1956402{col 67}{space 3} .1379433
{txt}{space 7}2008  {c |}{col 14}{res}{space 2}-.0227674{col 26}{space 2} .0872427{col 37}{space 1}   -0.26{col 46}{space 3}0.794{col 54}{space 4}-.1940709{col 67}{space 3} .1485361
{txt}{space 7}2009  {c |}{col 14}{res}{space 2}-.0617204{col 26}{space 2} .0888895{col 37}{space 1}   -0.69{col 46}{space 3}0.488{col 54}{space 4}-.2362574{col 67}{space 3} .1128165
{txt}{space 7}2010  {c |}{col 14}{res}{space 2}-.0165331{col 26}{space 2} .0897919{col 37}{space 1}   -0.18{col 46}{space 3}0.854{col 54}{space 4} -.192842{col 67}{space 3} .1597758
{txt}{space 12} {c |}
{space 3}in_pctgdp {c |}
{space 9}L2. {c |}{col 14}{res}{space 2}-.0052757{col 26}{space 2} .0027119{col 37}{space 1}   -1.95{col 46}{space 3}0.052{col 54}{space 4}-.0106007{col 67}{space 3} .0000493
{txt}{space 12} {c |}
{space 9}tax {c |}
{space 9}L2. {c |}{col 14}{res}{space 2} .0037112{col 26}{space 2} .0041057{col 37}{space 1}    0.90{col 46}{space 3}0.366{col 54}{space 4}-.0043505{col 67}{space 3}  .011773
{txt}{space 12} {c |}
{space 7}_cons {c |}{col 14}{res}{space 2} .4872875{col 26}{space 2} .7999058{col 37}{space 1}    0.61{col 46}{space 3}0.543{col 54}{space 4}-1.083349{col 67}{space 3} 2.057924
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} .65469016
     {txt}sigma_e {c |} {res} .31669075
         {txt}rho {c |} {res} .81037869{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}
F test that all u_i=0: F({res}70{txt}, {res}667{txt}) = {res}29.79{col 62}{txt}Prob > F = {res}0.0000
{txt}
{com}. est store r4
{txt}
{com}. 
. *TABLE 2A, MODELS 5 AND 6 / CLUSTER STANDARD ERRORS ON LEADER
. tsset gwf_leaderid year
{res}{txt}{col 8}panel variable:  {res}gwf_leaderid (unbalanced)
{txt}{col 9}time variable:  {res}{col 25}year, 1960 to 2010
{txt}{col 17}delta:  {res}1 unit
{txt}
{com}. *First identify top 10% of producers for Model 4 robustness
. qui: xtreg pers_2pl l2.oil_new l2.lincome_new l.logdur l.popmad_adj i.year if year>=1991, fe
{txt}
{com}. centile oil_new if e(sample), centile(90)

{txt}{col 56}{hline 2} Binom. Interp. {hline 2}
    Variable {c |}       Obs  Percentile    Centile        [95% Conf. Interval]
{hline 13}{c +}{hline 61}
     oil_new {c |}{col 14}{res}       944{col 29}     90{col 39} 8.113034{col 55} 7.929287{col 67} 8.341421{txt}

{com}. *Model 5
. xtreg pers_2pl l2.oil_new l2.lincome_new l.logdur l.popmad_adj i.year l2.in_pctgdp l2.tax if year>=1991, fe
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       773
{txt}Group variable: {res}gwf_leaderid{txt}{col 49}Number of groups{col 67}={col 69}{res}       108

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.0984{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.0769{col 63}{txt}avg{col 67}={col 69}{res}       7.2
{txt}     overall = {res}0.0650{col 63}{txt}max{col 67}={col 69}{res}        19

{txt}{col 49}F({res}24{txt},{res}641{txt}){col 67}={col 70}{res}     2.91
{txt}corr(u_i, Xb){col 16}= {res}-0.0957{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    pers_2pl{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}oil_new {c |}
{space 9}L2. {c |}{col 14}{res}{space 2}  .023574{col 26}{space 2} .0135665{col 37}{space 1}    1.74{col 46}{space 3}0.083{col 54}{space 4}-.0030662{col 67}{space 3} .0502142
{txt}{space 12} {c |}
{space 1}lincome_new {c |}
{space 9}L2. {c |}{col 14}{res}{space 2} .0326959{col 26}{space 2}  .074295{col 37}{space 1}    0.44{col 46}{space 3}0.660{col 54}{space 4}-.1131951{col 67}{space 3} .1785869
{txt}{space 12} {c |}
{space 6}logdur {c |}
{space 9}L1. {c |}{col 14}{res}{space 2} .0477927{col 26}{space 2} .0327036{col 37}{space 1}    1.46{col 46}{space 3}0.144{col 54}{space 4}-.0164264{col 67}{space 3} .1120117
{txt}{space 12} {c |}
{space 2}popmad_adj {c |}
{space 9}L1. {c |}{col 14}{res}{space 2}-.0013435{col 26}{space 2} .0026628{col 37}{space 1}   -0.50{col 46}{space 3}0.614{col 54}{space 4}-.0065725{col 67}{space 3} .0038854
{txt}{space 12} {c |}
{space 8}year {c |}
{space 7}1993  {c |}{col 14}{res}{space 2} .0467925{col 26}{space 2} .0448374{col 37}{space 1}    1.04{col 46}{space 3}0.297{col 54}{space 4}-.0412534{col 67}{space 3} .1348384
{txt}{space 7}1994  {c |}{col 14}{res}{space 2} .0359496{col 26}{space 2} .0475564{col 37}{space 1}    0.76{col 46}{space 3}0.450{col 54}{space 4}-.0574356{col 67}{space 3} .1293348
{txt}{space 7}1995  {c |}{col 14}{res}{space 2} .0360022{col 26}{space 2} .0492191{col 37}{space 1}    0.73{col 46}{space 3}0.465{col 54}{space 4}-.0606479{col 67}{space 3} .1326524
{txt}{space 7}1996  {c |}{col 14}{res}{space 2} .0452975{col 26}{space 2}  .049816{col 37}{space 1}    0.91{col 46}{space 3}0.364{col 54}{space 4}-.0525248{col 67}{space 3} .1431198
{txt}{space 7}1997  {c |}{col 14}{res}{space 2} .0247689{col 26}{space 2} .0486031{col 37}{space 1}    0.51{col 46}{space 3}0.610{col 54}{space 4}-.0706717{col 67}{space 3} .1202096
{txt}{space 7}1998  {c |}{col 14}{res}{space 2} .0177837{col 26}{space 2} .0488089{col 37}{space 1}    0.36{col 46}{space 3}0.716{col 54}{space 4}-.0780609{col 67}{space 3} .1136283
{txt}{space 7}1999  {c |}{col 14}{res}{space 2} .0280808{col 26}{space 2} .0505013{col 37}{space 1}    0.56{col 46}{space 3}0.578{col 54}{space 4}-.0710873{col 67}{space 3} .1272488
{txt}{space 7}2000  {c |}{col 14}{res}{space 2} .0422426{col 26}{space 2} .0531783{col 37}{space 1}    0.79{col 46}{space 3}0.427{col 54}{space 4}-.0621821{col 67}{space 3} .1466672
{txt}{space 7}2001  {c |}{col 14}{res}{space 2}  .027868{col 26}{space 2} .0555578{col 37}{space 1}    0.50{col 46}{space 3}0.616{col 54}{space 4}-.0812294{col 67}{space 3} .1369653
{txt}{space 7}2002  {c |}{col 14}{res}{space 2}  .010746{col 26}{space 2} .0545001{col 37}{space 1}    0.20{col 46}{space 3}0.844{col 54}{space 4}-.0962742{col 67}{space 3} .1177663
{txt}{space 7}2003  {c |}{col 14}{res}{space 2} .0293859{col 26}{space 2} .0564244{col 37}{space 1}    0.52{col 46}{space 3}0.603{col 54}{space 4}-.0814132{col 67}{space 3} .1401849
{txt}{space 7}2004  {c |}{col 14}{res}{space 2} .0580307{col 26}{space 2} .0580403{col 37}{space 1}    1.00{col 46}{space 3}0.318{col 54}{space 4}-.0559414{col 67}{space 3} .1720028
{txt}{space 7}2005  {c |}{col 14}{res}{space 2} .1065469{col 26}{space 2} .0603428{col 37}{space 1}    1.77{col 46}{space 3}0.078{col 54}{space 4}-.0119465{col 67}{space 3} .2250402
{txt}{space 7}2006  {c |}{col 14}{res}{space 2} .1063183{col 26}{space 2} .0634648{col 37}{space 1}    1.68{col 46}{space 3}0.094{col 54}{space 4}-.0183057{col 67}{space 3} .2309424
{txt}{space 7}2007  {c |}{col 14}{res}{space 2} .1128626{col 26}{space 2} .0668404{col 37}{space 1}    1.69{col 46}{space 3}0.092{col 54}{space 4}  -.01839{col 67}{space 3} .2441153
{txt}{space 7}2008  {c |}{col 14}{res}{space 2} .1007795{col 26}{space 2} .0689673{col 37}{space 1}    1.46{col 46}{space 3}0.144{col 54}{space 4}-.0346497{col 67}{space 3} .2362087
{txt}{space 7}2009  {c |}{col 14}{res}{space 2} .1002608{col 26}{space 2} .0726271{col 37}{space 1}    1.38{col 46}{space 3}0.168{col 54}{space 4} -.042355{col 67}{space 3} .2428766
{txt}{space 7}2010  {c |}{col 14}{res}{space 2} .1187068{col 26}{space 2} .0766331{col 37}{space 1}    1.55{col 46}{space 3}0.122{col 54}{space 4}-.0317754{col 67}{space 3}  .269189
{txt}{space 12} {c |}
{space 3}in_pctgdp {c |}
{space 9}L2. {c |}{col 14}{res}{space 2}-.0027824{col 26}{space 2} .0016481{col 37}{space 1}   -1.69{col 46}{space 3}0.092{col 54}{space 4}-.0060187{col 67}{space 3}  .000454
{txt}{space 12} {c |}
{space 9}tax {c |}
{space 9}L2. {c |}{col 14}{res}{space 2} .0020281{col 26}{space 2} .0024057{col 37}{space 1}    0.84{col 46}{space 3}0.400{col 54}{space 4}-.0026959{col 67}{space 3} .0067522
{txt}{space 12} {c |}
{space 7}_cons {c |}{col 14}{res}{space 2}-.3060679{col 26}{space 2} .5891361{col 37}{space 1}   -0.52{col 46}{space 3}0.604{col 54}{space 4}-1.462938{col 67}{space 3}  .850802
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} .75751471
     {txt}sigma_e {c |} {res} .17608351
         {txt}rho {c |} {res} .94873733{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}
F test that all u_i=0: F({res}107{txt}, {res}641{txt}) = {res}92.32{col 62}{txt}Prob > F = {res}0.0000
{txt}
{com}. est store r5
{txt}
{com}. *Model 6
. xtreg pers_2pl l2.oil_new l2.lincome_new l.logdur l.popmad_adj i.year l2.in_pctgdp l2.tax if year>=1991 & oil_new<=8.11, fe
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       680
{txt}Group variable: {res}gwf_leaderid{txt}{col 49}Number of groups{col 67}={col 69}{res}       103

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.1125{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.0841{col 63}{txt}avg{col 67}={col 69}{res}       6.6
{txt}     overall = {res}0.0934{col 63}{txt}max{col 67}={col 69}{res}        19

{txt}{col 49}F({res}24{txt},{res}553{txt}){col 67}={col 70}{res}     2.92
{txt}corr(u_i, Xb){col 16}= {res}-0.1387{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}    pers_2pl{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}oil_new {c |}
{space 9}L2. {c |}{col 14}{res}{space 2} .0269122{col 26}{space 2} .0144253{col 37}{space 1}    1.87{col 46}{space 3}0.063{col 54}{space 4}-.0014229{col 67}{space 3} .0552472
{txt}{space 12} {c |}
{space 1}lincome_new {c |}
{space 9}L2. {c |}{col 14}{res}{space 2}-.0075333{col 26}{space 2} .0858975{col 37}{space 1}   -0.09{col 46}{space 3}0.930{col 54}{space 4}-.1762585{col 67}{space 3} .1611919
{txt}{space 12} {c |}
{space 6}logdur {c |}
{space 9}L1. {c |}{col 14}{res}{space 2} .0240865{col 26}{space 2} .0377836{col 37}{space 1}    0.64{col 46}{space 3}0.524{col 54}{space 4}-.0501304{col 67}{space 3} .0983033
{txt}{space 12} {c |}
{space 2}popmad_adj {c |}
{space 9}L1. {c |}{col 14}{res}{space 2}-.0018398{col 26}{space 2} .0028087{col 37}{space 1}   -0.66{col 46}{space 3}0.513{col 54}{space 4}-.0073569{col 67}{space 3} .0036773
{txt}{space 12} {c |}
{space 8}year {c |}
{space 7}1993  {c |}{col 14}{res}{space 2} .0583157{col 26}{space 2} .0493027{col 37}{space 1}    1.18{col 46}{space 3}0.237{col 54}{space 4}-.0385278{col 67}{space 3} .1551592
{txt}{space 7}1994  {c |}{col 14}{res}{space 2} .0509845{col 26}{space 2} .0526937{col 37}{space 1}    0.97{col 46}{space 3}0.334{col 54}{space 4}-.0525198{col 67}{space 3} .1544887
{txt}{space 7}1995  {c |}{col 14}{res}{space 2} .0514939{col 26}{space 2} .0548777{col 37}{space 1}    0.94{col 46}{space 3}0.348{col 54}{space 4}-.0563003{col 67}{space 3} .1592881
{txt}{space 7}1996  {c |}{col 14}{res}{space 2} .0644375{col 26}{space 2} .0558205{col 37}{space 1}    1.15{col 46}{space 3}0.249{col 54}{space 4}-.0452087{col 67}{space 3} .1740836
{txt}{space 7}1997  {c |}{col 14}{res}{space 2} .0435474{col 26}{space 2} .0544901{col 37}{space 1}    0.80{col 46}{space 3}0.425{col 54}{space 4}-.0634854{col 67}{space 3} .1505802
{txt}{space 7}1998  {c |}{col 14}{res}{space 2} .0383847{col 26}{space 2} .0557201{col 37}{space 1}    0.69{col 46}{space 3}0.491{col 54}{space 4}-.0710642{col 67}{space 3} .1478335
{txt}{space 7}1999  {c |}{col 14}{res}{space 2} .0550123{col 26}{space 2}  .058151{col 37}{space 1}    0.95{col 46}{space 3}0.345{col 54}{space 4}-.0592116{col 67}{space 3} .1692362
{txt}{space 7}2000  {c |}{col 14}{res}{space 2} .0755436{col 26}{space 2} .0619875{col 37}{space 1}    1.22{col 46}{space 3}0.223{col 54}{space 4}-.0462161{col 67}{space 3} .1973033
{txt}{space 7}2001  {c |}{col 14}{res}{space 2}  .063427{col 26}{space 2}  .065038{col 37}{space 1}    0.98{col 46}{space 3}0.330{col 54}{space 4}-.0643247{col 67}{space 3} .1911788
{txt}{space 7}2002  {c |}{col 14}{res}{space 2} .0546731{col 26}{space 2} .0640063{col 37}{space 1}    0.85{col 46}{space 3}0.393{col 54}{space 4} -.071052{col 67}{space 3} .1803983
{txt}{space 7}2003  {c |}{col 14}{res}{space 2} .0805277{col 26}{space 2}  .067049{col 37}{space 1}    1.20{col 46}{space 3}0.230{col 54}{space 4}-.0511742{col 67}{space 3} .2122297
{txt}{space 7}2004  {c |}{col 14}{res}{space 2} .1184242{col 26}{space 2} .0700025{col 37}{space 1}    1.69{col 46}{space 3}0.091{col 54}{space 4}-.0190791{col 67}{space 3} .2559275
{txt}{space 7}2005  {c |}{col 14}{res}{space 2} .1598473{col 26}{space 2} .0729442{col 37}{space 1}    2.19{col 46}{space 3}0.029{col 54}{space 4} .0165658{col 67}{space 3} .3031289
{txt}{space 7}2006  {c |}{col 14}{res}{space 2} .1864952{col 26}{space 2} .0775132{col 37}{space 1}    2.41{col 46}{space 3}0.016{col 54}{space 4} .0342388{col 67}{space 3} .3387516
{txt}{space 7}2007  {c |}{col 14}{res}{space 2} .1951938{col 26}{space 2} .0821037{col 37}{space 1}    2.38{col 46}{space 3}0.018{col 54}{space 4} .0339206{col 67}{space 3} .3564671
{txt}{space 7}2008  {c |}{col 14}{res}{space 2} .1662317{col 26}{space 2} .0852764{col 37}{space 1}    1.95{col 46}{space 3}0.052{col 54}{space 4}-.0012737{col 67}{space 3}  .333737
{txt}{space 7}2009  {c |}{col 14}{res}{space 2} .1937496{col 26}{space 2}  .089797{col 37}{space 1}    2.16{col 46}{space 3}0.031{col 54}{space 4} .0173647{col 67}{space 3} .3701346
{txt}{space 7}2010  {c |}{col 14}{res}{space 2} .2273552{col 26}{space 2}  .093946{col 37}{space 1}    2.42{col 46}{space 3}0.016{col 54}{space 4} .0428206{col 67}{space 3} .4118898
{txt}{space 12} {c |}
{space 3}in_pctgdp {c |}
{space 9}L2. {c |}{col 14}{res}{space 2}-.0029326{col 26}{space 2} .0017664{col 37}{space 1}   -1.66{col 46}{space 3}0.097{col 54}{space 4}-.0064022{col 67}{space 3}  .000537
{txt}{space 12} {c |}
{space 9}tax {c |}
{space 9}L2. {c |}{col 14}{res}{space 2}  .001019{col 26}{space 2} .0027885{col 37}{space 1}    0.37{col 46}{space 3}0.715{col 54}{space 4}-.0044583{col 67}{space 3} .0064963
{txt}{space 12} {c |}
{space 7}_cons {c |}{col 14}{res}{space 2} .0961251{col 26}{space 2} .6620069{col 37}{space 1}    0.15{col 46}{space 3}0.885{col 54}{space 4}-1.204231{col 67}{space 3} 1.396481
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} .78246187
     {txt}sigma_e {c |} {res} .18379686
         {txt}rho {c |} {res} .94770924{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}
F test that all u_i=0: F({res}102{txt}, {res}553{txt}) = {res}79.63{col 62}{txt}Prob > F = {res}0.0000
{txt}
{com}. est store r6
{txt}
{com}. 
. esttab r* using r1.csv, cells(b(star  fmt(%9.3f)) se(par fmt(%9.3f))) stats(N) style(tab) replace label starlevels(* 0.10 ** 0.05 *** 0.01)
{res}{txt}(output written to {browse  `"r1.csv"'})

{com}. 
. 
. *TABLE 3A / INCORORATING UNCERTAINTY IN THE LATENT DEPENDENT VARIABLE
. /*
> See replication code and data in R
> R script "Fails_ReplicationCode_PSRM_Appendix_TableA3.R"
> Data files "AppModel7.csv" and "AppModel8.csv"
> */
. 
. 
. *TABLE 4A / SUMMARY DESCRIPTIVE STATISTICS
. tsset gwf_caseid year
{res}{txt}{col 8}panel variable:  {res}gwf_caseid (unbalanced)
{txt}{col 9}time variable:  {res}{col 25}year, 1960 to 2010
{txt}{col 17}delta:  {res}1 unit
{txt}
{com}. *Full sample
. qui: xtreg pers_2pl l2.oil_new l2.lgdppc l.popmad_adj l.gwf_firstldr l.logdur i.year if year>=1980, fe robust 
{txt}
{com}. sum pers_2pl l2.oil_new l2.lgdppc l.popmad_adj l.gwf_firstldr l.logdur if e(sample)

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 4}pers_2pl {c |}{res}      1,720    .1101973    .8368975  -1.321256   1.828571
{txt}{space 12} {c |}
{space 5}oil_new {c |}
{space 9}L2. {c |}{res}      1,720    2.785269    3.213314          0   11.23257
{txt}{space 12} {c |}
{space 6}lgdppc {c |}
{space 9}L2. {c |}{res}      1,720     7.37242    1.279579   4.870888   11.65272
{txt}{space 12} {c |}
{space 2}popmad_adj {c |}
{space 9}L1. {c |}{res}      1,720    40.47099    154.2446    .588268     1331.4
{txt}{space 12} {c |}
gwf_firstldr {c |}
{space 9}L1. {c |}{res}      1,720    .5063953    .5001045          0          1
{txt}{hline 13}{c +}{hline 57}
{space 12} {c |}
{space 6}logdur {c |}
{space 9}L1. {c |}{res}      1,720    2.120559    .9447007          0   3.850147
{txt}
{com}. *Post Cold War sample
. qui: xtreg pers_2pl l2.oil_new l2.lincome_new l.popmad_adj l.gwf_firstldr l.logdur i.year if year>1991, fe robust
{txt}
{com}. sum pers_2pl l2.oil_new l2.lincome_new l.popmad_adj l.gwf_firstldr l.logdur l.in_pctgdp l.tax if e(sample)

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 4}pers_2pl {c |}{res}      1,031    .1275672    .8007357  -1.321256   1.828571
{txt}{space 12} {c |}
{space 5}oil_new {c |}
{space 9}L2. {c |}{res}      1,031    3.073782    3.259954          0   10.56534
{txt}{space 12} {c |}
{space 1}lincome_new {c |}
{space 9}L2. {c |}{res}      1,031    8.301839    1.235868    5.86071   11.64849
{txt}{space 12} {c |}
{space 2}popmad_adj {c |}
{space 9}L1. {c |}{res}      1,031    43.59653    168.5128    .925717     1331.4
{txt}{space 12} {c |}
gwf_firstldr {c |}
{space 9}L1. {c |}{res}      1,031    .4733269    .4995304          0          1
{txt}{hline 13}{c +}{hline 57}
{space 12} {c |}
{space 6}logdur {c |}
{space 9}L1. {c |}{res}      1,031    2.180384     .937194          0   3.850147
{txt}{space 12} {c |}
{space 3}in_pctgdp {c |}
{space 9}L1. {c |}{res}      1,024    3.694781    6.055618  -14.36902   50.82971
{txt}{space 12} {c |}
{space 9}tax {c |}
{space 9}L1. {c |}{res}        870    13.98875    8.274063   .5855501   49.97773
{txt}
{com}. 
. 
. ****************
. ****************
. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}c:\data\Fails_PSRM_Log.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}21 Feb 2019, 11:39:36
{txt}{.-}
{smcl}
{txt}{sf}{ul off}